Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: wrong error msg (#12663)
ecmadao6ac65f8e1d1c
diff --git a/backend/api/gitops/gitlab.go b/backend/api/gitops/gitlab.goindex 39535b3fea..4e84c49822 100644--- a/backend/api/gitops/gitlab.go+++ b/backend/api/gitops/gitlab.go@@ -24,7 +24,7 @@ func getGitLabPullRequestInfo(ctx context.Context, vcsProvider *store.VCSProvidereturn nil, errors.Errorf("failed to unmarshal push event, error %v", err)}if pushEvent.ObjectKind != mergeRequestObjectKind {- return nil, errors.Errorf("skip webhook event type, got %s, want push", pushEvent.ObjectKind)+ return nil, errors.Errorf("skip webhook event type, got %s, want %s", pushEvent.ObjectKind, mergeRequestObjectKind)}if pushEvent.ObjectAttributes.Action != mergeAction {return nil, errors.Errorf("skip webhook event action, got %s, want merge", pushEvent.ObjectAttributes.Action)