mirror of https://github.com/databricks/cli.git
Downgrade Error: message after evert mutator to Debug
This seems redundant - nothing is lost.
This commit is contained in:
parent
c8cdc1135a
commit
86c29d4183
|
@ -42,7 +42,7 @@ func Apply(ctx context.Context, b *Bundle, m Mutator) diag.Diagnostics {
|
|||
// such that they are not logged multiple times.
|
||||
// If this is done, we can omit this block.
|
||||
if err := diags.Error(); err != nil {
|
||||
log.Errorf(ctx, "Error: %s", err)
|
||||
log.Debugf(ctx, "Error: %s", err)
|
||||
}
|
||||
|
||||
return diags
|
||||
|
|
|
@ -22,7 +22,7 @@ func ApplyReadOnly(ctx context.Context, rb ReadOnlyBundle, m ReadOnlyMutator) di
|
|||
log.Debugf(ctx, "ApplyReadOnly")
|
||||
diags := m.Apply(ctx, rb)
|
||||
if err := diags.Error(); err != nil {
|
||||
log.Errorf(ctx, "Error: %s", err)
|
||||
log.Debugf(ctx, "Error: %s", err)
|
||||
}
|
||||
|
||||
return diags
|
||||
|
|
Loading…
Reference in New Issue