fix: add warning for long secret names #359
|
@ -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)
|
||||
}
|
||||
}
|
||||
decentral1se marked this conversation as resolved
Outdated
|
||||
|
||||
|
|
Loading…
Reference in New Issue
nitpick: drop extra newline?
Think I've got this one now but let me know if I misinterpreted which line you were talking about : )