cloudprovider: remove redundant error log

Mostly "Provider OneCloud not registered".  Error is returned and the
caller can do whatever it want
This commit is contained in:
Yousong Zhou
2020-06-24 11:14:26 +08:00
parent 2eeb45deda
commit ffcea2ae56

View File

@@ -280,7 +280,6 @@ func GetProviderFactory(provider string) (ICloudProviderFactory, error) {
if ok {
return factory, nil
}
log.Errorf("Provider %s not registered", provider)
return nil, fmt.Errorf("No such provider %s", provider)
}