sanitize names and add more comments, and other essential boilerplate changes

This commit is contained in:
wlan0
2016-12-17 09:27:48 -08:00
parent 1e48fd18cb
commit 75da310757
12 changed files with 44 additions and 69 deletions

View File

@@ -90,11 +90,6 @@ func InitCloudProvider(name string, configFilePath string) (Interface, error) {
var cloud Interface
var err error
if name == "external" {
glog.Info("cloud provider external specified.")
return nil, nil
}
if name == "" {
glog.Info("No cloud provider specified.")
return nil, nil