Commit f5a8893
committed
fix(containers): fix TS errors in fetchContainerInspect store action
- Change SET_INSPECT_DATA payload to Record<string, ContainerInspectData>
to satisfy MutationsType<ContainersState> constraint
- Pass namespace as --namespace=<ns> CLI arg instead of ExecOptions
property, consistent with the rest of the codebase
- Guard against null client before calling exec
Signed-off-by: Gildas Le Nadan <3ntr0p13+github@gmail.com>1 parent 07b91a1 commit f5a8893
1 file changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
| 265 | + | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
403 | 408 | | |
404 | 409 | | |
405 | | - | |
| 410 | + | |
406 | 411 | | |
407 | 412 | | |
408 | 413 | | |
| |||
0 commit comments