core: update loadclusterInfo with multus check
if Multus is enabled the clusterinfo should be updated with network as multus as to run the ceph cmds in remote executor Signed-off-by: parth-gr <paarora@redhat.com>
This commit is contained in:
1 parent
ddea97ebde
commit
26584fc6e5
26 files changed
+48
-39
No files matched your search
@@ -233,7 +233,7 @@ func (r *ReconcileCephObjectStore) reconcile(request reconcile.Request) (reconci
|
||||
}
|
||||
|
||||
// Populate clusterInfo during each reconcile
|
||||
r.clusterInfo, _, _, err = opcontroller.LoadClusterInfo(r.context, r.opManagerContext, request.NamespacedName.Namespace)
|
||||
r.clusterInfo, _, _, err = opcontroller.LoadClusterInfo(r.context, r.opManagerContext, request.NamespacedName.Namespace, r.clusterSpec)
|
||||
if err != nil {
|
||||
return reconcile.Result{}, *cephObjectStore, errors.Wrap(err, "failed to populate cluster info")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user