Explorar o código

change validate apply default to true (#3639)

ianedwards %!s(int64=2) %!d(string=hai) anos
pai
achega
bcd2bf1bc6
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      api/server/handlers/project/create_test.go
  2. 1 1
      internal/models/project.go

+ 1 - 0
api/server/handlers/project/create_test.go

@@ -47,6 +47,7 @@ func TestCreateProjectSuccessful(t *testing.T) {
 		HelmValuesEnabled:      false,
 		MultiCluster:           false,
 		EnableReprovision:      false,
+		ValidateApplyV2:        true,
 	}
 
 	gotProject := &types.CreateProjectResponse{}

+ 1 - 1
internal/models/project.go

@@ -70,7 +70,7 @@ var ProjectFeatureFlags = map[FeatureFlagLabel]bool{
 	RDSDatabasesEnabled:    false,
 	SimplifiedViewEnabled:  true,
 	StacksEnabled:          false,
-	ValidateApplyV2:        false,
+	ValidateApplyV2:        true,
 }
 
 type ProjectPlan string