Commit e7e238e
committed
cli/command/container: remove redundant uses of strslice.StrSlice
The strslice.StrSlice type is a string-slice with a custom JSON Unmarshal
function to provide backward-compatibility with older API requests (see
[moby@17d6f00] and [moby@ea4a067]).
Given that the type is assigned implicitly through the fields on HostConfig,
we can just use a regular []string instead.
[moby@17d6f00]: moby/moby@17d6f00
[moby@ea4a067]: moby/moby@ea4a067
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>1 parent 7cbee73 commit e7e238e
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
400 | 399 | | |
401 | 400 | | |
402 | 401 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
| 402 | + | |
407 | 403 | | |
408 | 404 | | |
409 | 405 | | |
410 | 406 | | |
411 | 407 | | |
412 | 408 | | |
413 | | - | |
| 409 | + | |
414 | 410 | | |
415 | 411 | | |
416 | 412 | | |
| |||
551 | 547 | | |
552 | 548 | | |
553 | 549 | | |
554 | | - | |
| 550 | + | |
555 | 551 | | |
556 | | - | |
| 552 | + | |
557 | 553 | | |
558 | 554 | | |
559 | 555 | | |
| |||
675 | 671 | | |
676 | 672 | | |
677 | 673 | | |
678 | | - | |
679 | | - | |
| 674 | + | |
| 675 | + | |
680 | 676 | | |
681 | 677 | | |
682 | 678 | | |
| |||
0 commit comments