mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Fixing a glog message to not print managed zones when it is empty
This commit is contained in:
parent
4b0511dc8c
commit
4303611ba5
@ -449,7 +449,7 @@ func CreateGCECloud(config *CloudConfig) (*GCECloud, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(config.ManagedZones) != 1 {
|
if len(config.ManagedZones) > 1 {
|
||||||
glog.Infof("managing multiple zones: %v", config.ManagedZones)
|
glog.Infof("managing multiple zones: %v", config.ManagedZones)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user