Merge pull request #3563 from dokku/3551-ps-inspect

Properly split strings in sanitized ps:inspect
This commit is contained in:
Jose Diaz-Gonzalez
2019-05-20 15:06:26 -07:00
committed by GitHub
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)