mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Merge pull request #783 from vieux/fix_image_match
fix image.Match to take only repo or repo:tag
This commit is contained in:
@@ -47,3 +47,12 @@ function teardown() {
|
||||
[ "${#lines[@]}" -eq 0 ]
|
||||
done
|
||||
}
|
||||
|
||||
@test "docker rmi prefix" {
|
||||
start_docker_with_busybox 1
|
||||
swarm_manage
|
||||
|
||||
run docker_swarm rmi bus
|
||||
[ "$status" -ne 0 ]
|
||||
[[ "${output}" == *"No such image"* ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user