Skip to content

Commit

Permalink
fix: odigos upgrade skip-version-check error (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
blumamir authored Aug 26, 2024
1 parent 6c05153 commit 60ba1f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ and apply any required migrations and adaptations.`,

var operation string

if !cmd.Flag("skip-version-check").Changed {
skipVersionCheckFlag := cmd.Flag("skip-version-check")
if skipVersionCheckFlag == nil || !cmd.Flag("skip-version-check").Changed {

cm, err := client.CoreV1().ConfigMaps(ns).Get(ctx, resources.OdigosDeploymentConfigMapName, metav1.GetOptions{})
if err != nil {
Expand Down

0 comments on commit 60ba1f0

Please sign in to comment.