Merge "Remove superfluous sudo"

This commit is contained in:
Zuul 2023-08-18 10:00:55 +00:00 committed by Gerrit Code Review
commit 8e5a7b46a2
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ class DockerImage(object):
self.cmd = Command()
def get_images(self):
out = self.cmd.sudo('sudo docker images')
out = self.cmd.sudo('docker images')
images = []
for line in out.splitlines()[1:]:
images.append(line.split()[0])