Merge "Call correct client when building Host object"

This commit is contained in:
Zuul 2021-01-12 19:00:36 +00:00 committed by Gerrit Code Review
commit 41ad76c3d0

View File

@ -202,7 +202,7 @@ func newBaremetalHost(mgmtCfg config.ManagementConfiguration,
log.Debug("Remote type: Redfish")
clientFactory = redfish.ClientFactory
case redfishdell.ClientType:
clientFactory = redfish.ClientFactory
clientFactory = redfishdell.ClientFactory
default:
return host, ErrUnknownManagementType{Type: mgmtCfg.Type}
}