Fix lint warning

This commit is contained in:
Lennart Kats 2025-01-27 13:18:18 +01:00
parent 9466bdc1e0
commit 3fa7f7a57e
No known key found for this signature in database
GPG Key ID: 1EB8B57673197023
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func validateProductionMode(ctx context.Context, b *bundle.Bundle, isPrincipalUs
b.Config.Workspace.CurrentUser.UserName,
)
if !isExplicitRootSet(b) {
cmdio.LogString(ctx, fmt.Sprintf("root_path is not set: %s", b.Config.Bundle.Target))
cmdio.LogString(ctx, "root_path is not set: "+b.Config.Bundle.Target)
if isRunAsSet(r) || isPrincipalUsed {
// Just setting run_as is not enough to guarantee a single deployment,
// and neither is setting a principal.