Merge pull request #5240 from hashicorp/b-docker-bridgeip-logging

docker: only log missing bridge_ip on initial fingerprint
This commit is contained in:
Nick Ethier 2019-01-24 22:54:54 -05:00 committed by GitHub
commit 7c61b47a6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ func (d *Driver) buildFingerprint() *drivers.Fingerprint {
} else { } else {
// Docker 17.09.0-ce dropped the Gateway IP from the bridge network // Docker 17.09.0-ce dropped the Gateway IP from the bridge network
// See https://github.com/moby/moby/issues/32648 // See https://github.com/moby/moby/issues/32648
if d.fingerprintSuccessful() { if d.fingerprintSuccess == nil {
d.logger.Debug("bridge_ip could not be discovered") d.logger.Debug("bridge_ip could not be discovered")
} }
} }