Skip to content

Commit

Permalink
adding upgrade agent for 3.0-beta1 (#3829)
Browse files Browse the repository at this point in the history
Signed-off-by: Adarsh kumar <[email protected]>

Signed-off-by: Adarsh kumar <[email protected]>
  • Loading branch information
Adarshkumar14 authored Nov 16, 2022
1 parent 4d0b284 commit 3296cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litmus-portal/graphql-server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func init() {
logrus.Fatal(err)
}
// confirm version env is valid
if !strings.Contains(strings.ToLower(c.Version), cluster.CIVersion) {
if !strings.Contains(strings.ToLower(c.Version), cluster.CIVersion) && !strings.Contains(strings.ToLower(c.Version), "3.0-beta") {
splitCPVersion := strings.Split(c.Version, ".")
if len(splitCPVersion) != 3 {
logrus.Fatal("version doesn't follow semver semantic")
Expand Down

0 comments on commit 3296cbe

Please sign in to comment.