Skip to content

Commit

Permalink
Fix glog.Warningf
Browse files Browse the repository at this point in the history
  • Loading branch information
feiskyer committed Mar 6, 2019
1 parent d53ba85 commit 36e9ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/gce/gce_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ func (m *gceManagerImpl) fetchResourceLimiter() error {
maxLimits := make(map[string]int64)
for _, limit := range cluster.Autoscaling.ResourceLimits {
if _, found := supportedResources[limit.Name]; !found {
glog.Warning("Unsupported limit defined %s: %d - %d", limit.Name, limit.Minimum, limit.Maximum)
glog.Warningf("Unsupported limit defined %s: %d - %d", limit.Name, limit.Minimum, limit.Maximum)
}
minLimits[limit.Name] = limit.Minimum
maxLimits[limit.Name] = limit.Maximum
Expand Down

0 comments on commit 36e9ea5

Please sign in to comment.