Commit 14109e70 authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

Merge branch 'fix/docker-ps-no-truncate' into '2.x'

Add --no-trunc option to 'docker ps' call

See merge request !45
parents bbe7b6a5 4b091744
Pipeline #11223 passed with stages
in 1 minute and 3 seconds
......@@ -16,7 +16,7 @@ import helpers as h
def docker_ps(running_only=False):
args = '' if running_only else '-a'
result = local('docker ps %s' % args, capture=True)
result = local('docker ps --no-trunc %s' % args, capture=True)
lines = result.stdout.splitlines()
# container name is supposed to be the last column
assert lines[0].strip().endswith('NAMES')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment