Skip to content

Commit

Permalink
Merge pull request #2137 from krzysztof-jastrzebski/fix_bug
Browse files Browse the repository at this point in the history
Fix logging error.
  • Loading branch information
k8s-ci-robot authored Jun 24, 2019
2 parents c76d3a1 + e31575a commit 385a2b5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ func (cache *CloudProviderNodeInstancesCache) GetCloudProviderNodeInstances() (m
go func() {
defer wg.Done()
_, err := cache.fetchCloudProviderNodeInstancesForNodeGroup(nodeGroup)
klog.Errorf("Failed to fetch cloud provider node instances for %v, error %v", nodeGroup.Id(), err)
if err != nil {
klog.Errorf("Failed to fetch cloud provider node instances for %v, error %v", nodeGroup.Id(), err)
}
}()
}
}
Expand Down

0 comments on commit 385a2b5

Please sign in to comment.