Commit 089ffda
committed
Fix DatacenterID immutability test
The test was failing because it didn't refresh the object from the server
before attempting to update it. The CEL validation rule needs to compare
self with oldSelf, which requires the object to be fetched first to have
the correct resource version and state.
Add Get call before Update to ensure the validation rule can properly
check immutability.1 parent d81ebc5 commit 089ffda
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
0 commit comments