Skip to content

Commit

Permalink
Revert "RHOAIENG-965: Fix ODH Upgrade after label updates (#822)" (#881)
Browse files Browse the repository at this point in the history
This reverts commit b419c5b.
  • Loading branch information
VaishnaviHire authored Feb 27, 2024
1 parent cebd287 commit cb36d96
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,6 @@ func UpdateFromLegacyVersion(cli client.Client, platform deploy.Platform, appNS
return err
}

// TODO: Revert the following condition in 2.8 ODH Release
if platform == deploy.OpenDataHub {
fmt.Println("starting deletion of deployment in ODH cluster")
if err := deleteResource(cli, appNS, "deployment"); err != nil {
return fmt.Errorf("error deleting deployment: %w", err)
}
}

return nil
}

Expand Down

0 comments on commit cb36d96

Please sign in to comment.