fix: properly split strings in sanitized ps:inspect

Closes #3551
This commit is contained in:
Jose Diaz-Gonzalez
2019-05-20 12:58:08 -07:00
parent a34d36c5d2
commit 980ffab600
2 changed files with 2 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ for container in data:
env.append(e)
continue
k, v = e.split('=', 2)
k, v = e.split('=', 1)
env.append('{0}=XXXXXX'.format(k))
container['Config']['Env'] = env

View File

@@ -13,6 +13,7 @@ teardown() {
}
@test "(ps) ps:inspect" {
dokku config:set "$TEST_APP" key=value key=value=value
deploy_app dockerfile
CID=$(< $DOKKU_ROOT/$TEST_APP/CONTAINER.web.1)