Skip to content

Commit 982a56d

Browse files
committed
Update test case to allow updating resources
Signed-off-by: Daniel Fan <[email protected]>
1 parent af17bd1 commit 982a56d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

controllers/operandrequest/reconcile_operand.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ func (r *Reconciler) reconcileK8sResource(ctx context.Context, res operatorv1alp
576576
return err
577577
}
578578
} else {
579-
klog.V(2).Infof("Skip the k8s resource %s/%s which is not created by ODLM", res.Kind, res.Name)
579+
klog.V(2).Infof("Skip the k8s resource %s/%s whose force field is false", k8sResNs, res.Name)
580580
}
581581
}
582582
} else {

controllers/testutil/test_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func OperandConfigObj(name, namespace string) *apiv1alpha1.OperandConfig {
200200
}
201201
}`),
202202
},
203-
Force: false,
203+
Force: true,
204204
},
205205
},
206206
},

0 commit comments

Comments
 (0)