Bug fix in mulled.py

This bug was causing running docker with sudo while it should not
This commit is contained in:
Abdulrahman Azab
2017-01-17 13:54:23 +01:00
committed by GitHub
parent dd2ab483c0
commit 9f4add70d0
@@ -33,7 +33,7 @@ CachedMulledImageMultiTarget.multi_target = True
def list_cached_mulled_images(namespace=None):
command = build_docker_images_command(truncate=True, sudo_docker=False)
command = build_docker_images_command(truncate=True, sudo=False)
command = "%s | tail -n +2 | tr -s ' ' | cut -d' ' -f1,2" % command
images_and_versions = check_output(command)
name_filter = get_filter(namespace)