Merge pull request #5894 from andrewsykim/do-propagate-err

propagate error when initializing digitalocean provider
This commit is contained in:
k8s-ci-robot 2018-10-08 16:11:24 -07:00 committed by GitHub
commit 779d51ab4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ func BuildCloud(cluster *kops.Cluster) (fi.Cloud, error) {
region := cluster.Spec.Subnets[0].Zone
doCloud, err := do.NewDOCloud(region)
if err != nil {
return nil, fmt.Errorf("error initializin digitalocean cloud!")
return nil, fmt.Errorf("error initializing digitalocean cloud: %s", err)
}
cloud = doCloud