Skip to content

Commit

Permalink
Use full form of 'cm' => 'configmap'
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkumar authored and anjannath committed Feb 21, 2023
1 parent 86f1ed6 commit c199fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/crc/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ func CheckProxySettingsForOperator(ocConfig oc.Config, proxy *network.ProxyConfi
}

func DeleteMCOLeaderLease(ctx context.Context, ocConfig oc.Config) error {
if err := WaitForOpenshiftResource(ctx, ocConfig, "cm"); err != nil {
if err := WaitForOpenshiftResource(ctx, ocConfig, "configmap"); err != nil {
return err
}
if _, _, err := ocConfig.RunOcCommand("delete", "-n", "openshift-machine-config-operator", "cm", "machine-config-controller"); err != nil {
if _, _, err := ocConfig.RunOcCommand("delete", "-n", "openshift-machine-config-operator", "configmap", "machine-config-controller"); err != nil {
return err
}
// https://issues.redhat.com/browse/OCPBUGS-7583 as workaround
Expand Down

0 comments on commit c199fd7

Please sign in to comment.