Skip to content

Commit

Permalink
Update Codeflare manifests path
Browse files Browse the repository at this point in the history
(cherry picked from commit 014396c)
  • Loading branch information
VaishnaviHire committed Oct 25, 2023
1 parent 9f8b649 commit 5f1c0d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/codeflare/codeflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (c *CodeFlare) ReconcileComponent(cli client.Client, owner metav1.Object, d
}

if found, err := deploy.OperatorExists(cli, dependentOperator); err != nil {
return err
return fmt.Errorf("operator exists throws error %v", err)
} else if found {
return fmt.Errorf("operator %s found. Please uninstall the operator before enabling %s component",
dependentOperator, ComponentName)
Expand Down Expand Up @@ -110,6 +110,7 @@ func (c *CodeFlare) ReconcileComponent(cli client.Client, owner metav1.Object, d
}
}
return nil

}

func (c *CodeFlare) DeepCopyInto(target *CodeFlare) {
Expand Down

0 comments on commit 5f1c0d4

Please sign in to comment.