Commit 68d4ef6
committed
fix(network): preserve hosts in cloud disruptions
Use DeepCopy before Status().Update() to prevent
in-memory spec changes from being lost. Without this,
cloud disruption hosts were cleared after the first
chaos pod creation, causing subsequent pods to have
no hosts injected.
Jira: CHAOSPLT-13641 parent 766b11f commit 68d4ef6
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
704 | | - | |
705 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
706 | 708 | | |
707 | 709 | | |
708 | 710 | | |
| |||
0 commit comments