Remove extra container check
This code is only ever called from functions which have already checked if the target is a container, so the check is duplicate. Change-Id: If63269719881c04804d6d17f6134cc67ab0bb9a7
This commit is contained in:
parent
4615ef2930
commit
362f98ca93
|
@ -437,9 +437,6 @@ class Connection(SSH.Connection):
|
|||
so that a container lookup is not required on a subsequent
|
||||
command within the same task.
|
||||
"""
|
||||
if not self.is_container:
|
||||
return 1, ''
|
||||
|
||||
pid_path = """/proc/%s"""
|
||||
if not subdir:
|
||||
subdir = 'root'
|
||||
|
|
Loading…
Reference in New Issue