Skip to content

Commit

Permalink
Fix logging error.
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-jastrzebski committed Jun 24, 2019
1 parent c76d3a1 commit e31575a
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 e31575a

Please sign in to comment.