diff options
| author | Martin André <martin.andre@kvhasia.com> | 2015-03-30 10:28:42 +0900 |
|---|---|---|
| committer | Martin André <martin.andre@kvhasia.com> | 2015-04-01 16:41:52 +0900 |
| commit | 056e02d0d3671cdb5161d3fa31dd21fc5349bab4 (patch) | |
| tree | b150808cc071790c8fadb73d2c0127343d2ece5c /docker/base | |
| parent | 34872c1c2f68f4a410c423ed8b615822a29ff94a (diff) | |
| download | kolla-056e02d0d3671cdb5161d3fa31dd21fc5349bab4.tar.gz kolla-056e02d0d3671cdb5161d3fa31dd21fc5349bab4.zip | |
Simplify `wait_for` calls
Rely on the the `check_for_*` functions and remove redundant
`fail_unless_*` calls.
Also change `wait_for` to exit when it is missing a required argument.
Change-Id: I90c4545691d53185556e2838303ac3df0afaf9fa
Diffstat (limited to 'docker/base')
| -rw-r--r-- | docker/base/kolla-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/base/kolla-common.sh b/docker/base/kolla-common.sh index 1a6b0c815..8c2ef5ec1 100644 --- a/docker/base/kolla-common.sh +++ b/docker/base/kolla-common.sh @@ -49,7 +49,7 @@ wait_for() { if [ -z "$loops" -o -z "$sleeptime" -o -z "$command" ]; then echo "wait_for is missing a required parameter" - return 1 + exit 1 fi local i=0 |
