Merge "Call correct client when building Host object"
This commit is contained in:
commit
41ad76c3d0
@ -202,7 +202,7 @@ func newBaremetalHost(mgmtCfg config.ManagementConfiguration,
|
|||||||
log.Debug("Remote type: Redfish")
|
log.Debug("Remote type: Redfish")
|
||||||
clientFactory = redfish.ClientFactory
|
clientFactory = redfish.ClientFactory
|
||||||
case redfishdell.ClientType:
|
case redfishdell.ClientType:
|
||||||
clientFactory = redfish.ClientFactory
|
clientFactory = redfishdell.ClientFactory
|
||||||
default:
|
default:
|
||||||
return host, ErrUnknownManagementType{Type: mgmtCfg.Type}
|
return host, ErrUnknownManagementType{Type: mgmtCfg.Type}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user