From bd1728405a7ec742c6ed4a67439d9cdb11beb97b Mon Sep 17 00:00:00 2001 From: Kostiantyn Kalynovskyi Date: Thu, 7 Jan 2021 10:43:37 -0600 Subject: [PATCH] Call correct client when building Host object This will make sure that corect driver is used when managing remote hosts via redfish. Change-Id: Ic0d7f946ca4e64a6a8df1ab5bd65e4ecec130988 --- pkg/remote/management.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/remote/management.go b/pkg/remote/management.go index 945218e55..e691ca4fa 100644 --- a/pkg/remote/management.go +++ b/pkg/remote/management.go @@ -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} }