File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,10 @@ const (
8181)
8282
8383type DetailedErrorGitOpsConfigResponse struct {
84- SuccessfulStages []string `json:"successfulStages"`
85- StageErrorMap map [string ]string `json:"stageErrorMap"`
86- ValidatedOn time.Time `json:"validatedOn"`
87- DeleteRepoFailed bool `json:"deleteRepoFailed"`
88- IsValidationSkipped bool `json:"isValidationSkipped"`
84+ SuccessfulStages []string `json:"successfulStages"`
85+ StageErrorMap map [string ]string `json:"stageErrorMap"`
86+ ValidatedOn time.Time `json:"validatedOn"`
87+ DeleteRepoFailed bool `json:"deleteRepoFailed"`
8988}
9089
9190type GitOpsConfigServiceImpl struct {
@@ -689,9 +688,7 @@ func (impl *GitOpsConfigServiceImpl) GetGitOpsConfigActive() (*bean2.GitOpsConfi
689688
690689func (impl * GitOpsConfigServiceImpl ) GitOpsValidateDryRun (config * bean2.GitOpsConfigDto ) DetailedErrorGitOpsConfigResponse {
691690 if impl .globalEnvVariables .SkipGitOpsValidation {
692- return DetailedErrorGitOpsConfigResponse {
693- IsValidationSkipped : true ,
694- }
691+ return DetailedErrorGitOpsConfigResponse {}
695692 }
696693 if config .Token == "" {
697694 model , err := impl .gitOpsRepository .GetGitOpsConfigById (config .Id )
You can’t perform that action at this time.
0 commit comments