Merge pull request #3893 from danthegoodman1/master

Add Fetch Error Output to Warning Log
This commit is contained in:
Kubernetes Prow Robot 2021-03-05 14:37:41 -08:00 committed by GitHub
commit 31e2b4313a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}