fix: use correct args for debug log inputs
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-09-14 16:14:09 +02:00
parent d290a4ec0b
commit b6fe86f2ad
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ func GetAppComposeConfig(recipe string, opts stack.Deploy, appEnv AppEnv) (*comp
return &composetypes.Config{}, err
}
logrus.Debugf("retrieved '%s' for '%s'", compose, recipe)
logrus.Debugf("retrieved '%s' for '%s'", compose.Filename, recipe)
return compose, nil
}

View File

@ -113,7 +113,7 @@ func ParseSecretEnvVarValue(secret string) (secretValue, error) {
}
version := strings.ReplaceAll(values[0], " ", "")
logrus.Debugf("parsed version '%s' and length '%s' from '%s'", version, length, secret)
logrus.Debugf("parsed version '%s' and length '%v' from '%s'", version, length, secret)
return secretValue{Version: version, Length: length}, nil
}