Skip to content

Commit

Permalink
Set RawConfig on the diff state
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Dec 26, 2023
1 parent fb8acdb commit 5b1ae0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/external_nofork.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ func (n *noForkExternal) Observe(ctx context.Context, mg xpresource.Managed) (ma
}
stateValueMap = jsonMap
newState.RawPlan = stateValue
newState.RawConfig = n.rawConfig
diffState = newState
} else if diffState != nil {
diffState.Attributes = nil
Expand Down

0 comments on commit 5b1ae0d

Please sign in to comment.