refactor: drop unmaintained ls subcommand

The correct way to handle getting the status should be ps:report.

Also cleaned up an issue where ps:report failed to catch errors for non-running containers.
This commit is contained in:
Jose Diaz-Gonzalez
2018-02-07 20:45:43 -07:00
parent 50a98db8e6
commit da1ea2dda8
3 changed files with 3 additions and 39 deletions

View File

@@ -147,12 +147,7 @@ teardown() {
echo "status: "$status
assert_success
run bash -c "dokku ls"
echo "output: "$output
echo "status: "$status
assert_success
run bash -c "dokku --quiet ls | grep $TEST_APP | grep -q stopped"
run bash -c "dokku --quiet ps:report $TEST_APP | grep -q exited"
echo "output: "$output
echo "status: "$status
assert_success