Skip to content

Commit 50bdd64

Browse files
authored
Temporarily removing version check for Database in 3.x (#4703)
Signed-off-by: Vedant Shrotria <[email protected]>
1 parent 91cb1d0 commit 50bdd64

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

chaoscenter/graphql/server/server.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ func validateVersion() error {
6969
}
7070
return nil
7171
}
72-
if dbVersion.Value.(string) != currentVersion {
73-
return fmt.Errorf("control plane needs to be upgraded from version %v to %v", dbVersion.Value.(string), currentVersion)
74-
}
72+
// This check will be added back once DB upgrader job becomes functional
73+
// if dbVersion.Value.(string) != currentVersion {
74+
// return fmt.Errorf("control plane needs to be upgraded from version %v to %v", dbVersion.Value.(string), currentVersion)
75+
// }
7576
return nil
7677
}
7778

0 commit comments

Comments
 (0)