Forráskód Böngészése

fix gitlab secret name

Mohammed Nafees 4 éve
szülő
commit
a51d9565b7
1 módosított fájl, 1 hozzáadás és 2 törlés
  1. 1 2
      internal/integrations/ci/gitlab/ci.go

+ 1 - 2
internal/integrations/ci/gitlab/ci.go

@@ -423,8 +423,7 @@ func (g *GitlabCI) deleteGitlabSecret(client *gitlab.Client) error {
 }
 }
 
 
 func (g *GitlabCI) getPorterTokenSecretName() string {
 func (g *GitlabCI) getPorterTokenSecretName() string {
-	return fmt.Sprintf("PORTER_TOKEN_%d_%s", g.ProjectID,
-		fmt.Sprintf("porter-%s", strings.ToLower(strings.ReplaceAll(g.ReleaseName, "-", "_"))))
+	return fmt.Sprintf("PORTER_TOKEN_%d_%s", g.ProjectID, strings.ToLower(strings.ReplaceAll(g.ReleaseName, "-", "_")))
 }
 }
 
 
 func getGitlabStageJobName(releaseName string) string {
 func getGitlabStageJobName(releaseName string) string {