This commit is contained in:
Lennart Kats 2025-01-28 16:24:08 +01:00
parent 3fa7f7a57e
commit 84b2a163ab
No known key found for this signature in database
GPG Key ID: 1EB8B57673197023
1 changed files with 0 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import (
"github.com/databricks/cli/bundle"
"github.com/databricks/cli/bundle/config"
"github.com/databricks/cli/libs/cmdio"
"github.com/databricks/cli/libs/diag"
"github.com/databricks/cli/libs/dyn"
"github.com/databricks/cli/libs/iamutil"
@ -158,7 +157,6 @@ func validateProductionMode(ctx context.Context, b *bundle.Bundle, isPrincipalUs
b.Config.Workspace.CurrentUser.UserName,
)
if !isExplicitRootSet(b) {
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.