From 2abb7264b8016511d18249a43df717e05a52ce46 Mon Sep 17 00:00:00 2001 From: Rich M Date: Wed, 4 Oct 2023 19:10:18 +0100 Subject: [PATCH] Added 'secret' before error to make it clear it's a secret. --- cli/app/new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/app/new.go b/cli/app/new.go index e357a9f3..8d1e1d79 100644 --- a/cli/app/new.go +++ b/cli/app/new.go @@ -270,7 +270,7 @@ func ensureSecretLengths(secrets map[string]string, domainName string, sanitised for secretName := range secrets { if len(secretName)+domainAndFormatLength > config.MAX_DOCKER_SECRET_LENGTH { - return fmt.Errorf("%s is too long (> %d chars when combined with %s)", secretName, config.MAX_DOCKER_SECRET_LENGTH, sanitisedAppName) + return fmt.Errorf("secret %s is too long (> %d chars when combined with %s)", secretName, config.MAX_DOCKER_SECRET_LENGTH, sanitisedAppName) } }