Skip to content

Commit

Permalink
chore: typo (opendatahub-io#141)
Browse files Browse the repository at this point in the history
Signed-off-by: Wen Zhou <wenzhou@redhat.com>
(cherry picked from commit 0f9fe32)
  • Loading branch information
zdtsw authored and VaishnaviHire committed Nov 29, 2023
1 parent 5e3731b commit b8926f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func CreateDefaultDSCI(cli client.Client, platform deploy.Platform, appNamespace
func UpdateFromLegacyVersion(cli client.Client, platform deploy.Platform, appNS string, montNamespace string) error {
// If platform is Managed, remove Kfdefs and create default dsc
if platform == deploy.ManagedRhods {
fmt.Println("starting deletion of Deloyments in managed cluster")
fmt.Println("starting deletion of Deployment in managed cluster")
if err := deleteResource(cli, appNS, "deployment"); err != nil {
return err
}
Expand All @@ -288,7 +288,7 @@ func UpdateFromLegacyVersion(cli client.Client, platform deploy.Platform, appNS
}

if platform == deploy.SelfManagedRhods {
fmt.Println("starting deletion of Deloyments in selfmanaged cluster")
fmt.Println("starting deletion of Deployment in selfmanaged cluster")
// If KfDef CRD is not found, we see it as a cluster not pre-installed v1 operator // Check if kfdef are deployed
kfdefCrd := &apiextv1.CustomResourceDefinition{}
if err := cli.Get(context.TODO(), client.ObjectKey{Name: "kfdefs.kfdef.apps.kubeflow.org"}, kfdefCrd); err != nil {
Expand Down

0 comments on commit b8926f7

Please sign in to comment.