aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/scripts
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-01-24 15:00:03 +0000
committerPeter Mikus <pmikus@cisco.com>2018-01-24 15:00:43 +0000
commit9803b11b7b5a6df4e81fbee1da6d141b0729fc20 (patch)
treebd6d7e93b2572b55e6fdd2b7b0f1a03205436852 /resources/tools/scripts
parent7dd7b797460428447d12c7b75815478dcf306f2e (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/tools/scripts')
-rw-r--r--resources/tools/scripts/topo_container_copy.py2
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))