mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-09 07:54:28 +08:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user