Clean up error logs.
Use %v for errors, tidy some messages, make error messages start lowe-case (as per go guidelines). Just accumulated nits.
This commit is contained in:
@@ -85,7 +85,7 @@ func InitCloudProvider(name string, configFilePath string) Interface {
|
||||
|
||||
cloud, err := GetCloudProvider(name, config)
|
||||
if err != nil {
|
||||
glog.Fatalf("Couldn't init cloud provider %q: %#v", name, err)
|
||||
glog.Fatalf("Couldn't init cloud provider %q: %v", name, err)
|
||||
}
|
||||
if cloud == nil {
|
||||
glog.Fatalf("Unknown cloud provider: %s", name)
|
||||
|
Reference in New Issue
Block a user