Repository navigation
Commit 670e517
committed
Version: Create helper before manipulating instance
The helper.NewHelper creates snapshot of the instance being reconciled
and PatchInstance at the end of the reconcile loop uses this to generate
the Patch to persist the changes done by the reconciler. Therefore the
helper needs to be created before any changes on the instance. This is
fixed now to avoid loosing in memory changes.1 parent 47fcf16 commit 670e517
1 file changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 108 | | |
118 | 109 | | |
119 | 110 | | |
| |||
126 | 117 | | |
127 | 118 | | |
128 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments