Remove superfluous sudo

In a recent test run for neutron-dynamic-routing I noticed
the command 'sudo sudo docker images'. Remove the superfluous
'sudo' as it is unnecessary.

Trivialfix

Change-Id: I89479892b2a8f887fecce597d288898707ae4127
This commit is contained in:
Brian Haley 2023-08-16 09:41:46 -04:00 committed by Dr. Jens Harbott
parent 6f285a65f0
commit 8cd03eb2e4
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])