diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-01-24 15:00:03 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-01-24 15:01:07 +0000 |
commit | 116d82b1ac961236d30c849768f3cb7d5dc96485 (patch) | |
tree | a6d82c521e5e69ed984963de18285021524defa9 /resources | |
parent | 70c8b605f27848b302f101df63f93f3438e8a7f3 (diff) |
FIX: Ignore removing dangling images if there aren't any
Change-Id: I0be23e67cfdc54169b9787e90eede28b32406c8b
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/tools/scripts/topo_container_copy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/scripts/topo_container_copy.py b/resources/tools/scripts/topo_container_copy.py index 088b7a4386..83599b4444 100644 --- a/resources/tools/scripts/topo_container_copy.py +++ b/resources/tools/scripts/topo_container_copy.py @@ -129,7 +129,7 @@ def main(): # Remove <none> images from Docker. cmd = "docker rmi $(sudo docker images -f 'dangling=true' -q)" - stdout = ssh_no_error(ssh, cmd, sudo=True) + stdout = ssh_ignore_error(ssh, cmd, sudo=True) print("###TI {}".format(stdout)) |