mirror of https://github.com/databricks/cli.git
Use a recommendation instead of a warning
This commit is contained in:
parent
293d7808a6
commit
3e01aecffe
|
@ -168,7 +168,7 @@ func validateProductionMode(ctx context.Context, b *bundle.Bundle, isPrincipalUs
|
|||
// and neither is setting a principal.
|
||||
// We only show a warning for these cases since we didn't historically
|
||||
// report an error for them.
|
||||
return diag.Warningf("target with 'mode: production' should " + advice)
|
||||
return diag.Recommendation("target with 'mode: production' should " + advice)
|
||||
}
|
||||
return diag.Errorf("target with 'mode: production' must " + advice)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue