Signed-off-by: Alexander Morozov <lk4d4@docker.com>
| ... | ... |
@@ -408,7 +408,10 @@ func init() {
|
| 408 | 408 |
} |
| 409 | 409 |
fields := strings.Fields(l) |
| 410 | 410 |
imgTag := fields[0] + ":" + fields[1] |
| 411 |
- protectedImages[imgTag] = struct{}{}
|
|
| 411 |
+ // just for case if we have dangling images in tested daemon |
|
| 412 |
+ if imgTag != "<none>:<none>" {
|
|
| 413 |
+ protectedImages[imgTag] = struct{}{}
|
|
| 414 |
+ } |
|
| 412 | 415 |
} |
| 413 | 416 |
} |
| 414 | 417 |
|