Commit bf5b6ad
fix(agent): remove agent updater container instead of stopping it
This commit resolves an issue where the updater container was stopping
itself, preventing its removal after the update process. The previous
implementation of the `CompleteUpdate` method would stop the updater
container, resulting in it remaining in a stopped state rather than
being properly removed.
This behavior led to wasted system resources, as accumulated stopped
containers could complicate the environment. By directly removing the
updater container, we enhance resource management and streamline the
update process.1 parent 10550b3 commit bf5b6ad
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
138 | | - | |
| 142 | + | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
| |||
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
182 | | - | |
183 | | - | |
| 186 | + | |
| 187 | + | |
184 | 188 | | |
185 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
186 | 194 | | |
187 | 195 | | |
188 | 196 | | |
| |||
0 commit comments