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:
parent
6f285a65f0
commit
8cd03eb2e4
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user