From 3296cbe130b2e01acdd267cb87f9676d1d218327 Mon Sep 17 00:00:00 2001 From: Adarshkumar14 Date: Wed, 16 Nov 2022 20:33:43 +0530 Subject: [PATCH] adding upgrade agent for 3.0-beta1 (#3829) Signed-off-by: Adarsh kumar Signed-off-by: Adarsh kumar --- litmus-portal/graphql-server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litmus-portal/graphql-server/server.go b/litmus-portal/graphql-server/server.go index 6603559f56f..9ac2c9f87c4 100644 --- a/litmus-portal/graphql-server/server.go +++ b/litmus-portal/graphql-server/server.go @@ -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")