Commit 5e71de4
committed
configFile: directly write changes to configFile
In some situations, the config.json is volumed from somewhere else and the file is busy, move can't be performed on this file and configFile.Save() will be failed because it's trying to move another file to this file. This will write changes directly to the file.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>1 parent 2291f61 commit 5e71de4
2 files changed
Lines changed: 12 additions & 59 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
198 | | - | |
199 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
200 | 201 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 202 | | |
210 | | - | |
| 203 | + | |
211 | 204 | | |
212 | 205 | | |
213 | 206 | | |
| 207 | + | |
214 | 208 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
223 | 213 | | |
224 | 214 | | |
225 | | - | |
226 | | - | |
227 | | - | |
| 215 | + | |
228 | 216 | | |
229 | 217 | | |
230 | 218 | | |
| |||
This file was deleted.
0 commit comments