kubernetes/pkg/cloudprovider
Jan Safranek f7384827b8 Fixed error handling of cloud init.
Avoid creating a new 'err' variable in the 'if'-branch, shadowing the one
in the outer scope.

Any error from subsequent 'cloud, err = GetCloudProvider()' was not propagated
to 'err' variable in the outer scope and thus errors were never returned from
this function.

This is hard to debug error on OpenStack, when content of --cloud-config=
file is wrong or connection to OpenStack fails. Such error is never logged
and Kubernetes thinks everything is OK.
2015-09-08 10:46:49 +02:00
..
providers Second attempt at GCE tokens behavior to new format 2015-09-04 08:36:55 -07:00
cloud.go Change CreateTCPLoadBalancer -> EnsureTCPLoadBalancer; implementations auto-delete if already exists 2015-08-17 08:58:45 -04:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
plugins.go Fixed error handling of cloud init. 2015-09-08 10:46:49 +02:00