Skip to content

Commit

Permalink
Merge pull request kubernetes#3893 from danthegoodman1/master
Browse files Browse the repository at this point in the history
Add Fetch Error Output to Warning Log
  • Loading branch information
k8s-ci-robot authored Mar 5, 2021
2 parents 8459d23 + 81f1cea commit 31e2b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/aws/aws_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func GenerateEC2InstanceTypes(region string) (map[string]*InstanceType, error) {
klog.V(1).Infof("fetching %s\n", url)
res, err := http.Get(url)
if err != nil {
klog.Warningf("Error fetching %s skipping...\n", url)
klog.Warningf("Error fetching %s skipping...\n%s\n", url, err)
continue
}

Expand Down

0 comments on commit 31e2b43

Please sign in to comment.