refactor weave setup for clarity
This commit is contained in:
1 parent
b8d7af3822
commit
89c7e6d337
1 file changed
+7
-4
@@ -236,10 +236,13 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
setup)
|
setup)
|
||||||
# call 'docker pull' outside weaveexec so we don't need a docker binary inside
|
# call 'docker pull' outside weaveexec so we don't need a
|
||||||
for img in $IMAGE $EXEC_IMAGE $WEAVEDB_IMAGE ; do
|
# docker binary inside
|
||||||
[ -z "$IS_LOCAL" ] && docker pull $img
|
if [ -z "$IS_LOCAL" ] ; then
|
||||||
done
|
for img in $IMAGE $EXEC_IMAGE $WEAVEDB_IMAGE ; do
|
||||||
|
docker pull $img
|
||||||
|
done
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
[ "$2" = "--help" ] && usage_no_exit && exit 0
|
[ "$2" = "--help" ] && usage_no_exit && exit 0
|
||||||
|
|||||||
Reference in new issue
Block a user