Skip to content

Commit c587f60

Browse files
committed
Remove server_side_default (just to see what fails)
1 parent 8a17f78 commit c587f60

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

bundle/direct/bundle_plan.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -386,13 +386,6 @@ func addPerFieldActions(ctx context.Context, adapter *dresources.Adapter, change
386386
} else if shouldSkip(cfg, path, ch) {
387387
ch.Action = deployplan.Skip
388388
ch.Reason = deployplan.ReasonBuiltinRule
389-
} else if ch.New == nil && ch.Old == nil && ch.Remote != nil && path.IsDotString() {
390-
// The field was not set by us, but comes from the remote state.
391-
// This could either be server-side default or a policy.
392-
// In any case, this is not a change we should react to.
393-
// Note, we only consider struct fields here. Adding/removing elements to/from maps and slices should trigger updates.
394-
ch.Action = deployplan.Skip
395-
ch.Reason = deployplan.ReasonServerSideDefault
396389
} else if action := shouldUpdateOrRecreate(cfg, path); action != deployplan.Undefined {
397390
ch.Action = action
398391
ch.Reason = deployplan.ReasonBuiltinRule

0 commit comments

Comments
 (0)