mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
no need to pass CHECKPOINT_DISABLE when not starting probe/app
This commit is contained in:
5
scope
5
scope
@@ -48,7 +48,7 @@ usage() {
|
||||
Launch options:
|
||||
EOF
|
||||
# shellcheck disable=SC2086
|
||||
docker run --rm -e CHECKPOINT_DISABLE --entrypoint=/home/weave/scope "$SCOPE_IMAGE" -h >&2
|
||||
docker run --rm --entrypoint=/home/weave/scope "$SCOPE_IMAGE" -h >&2
|
||||
}
|
||||
|
||||
usage_and_die() {
|
||||
@@ -234,8 +234,7 @@ case "$COMMAND" in
|
||||
|
||||
version)
|
||||
# shellcheck disable=SC2086
|
||||
docker run --rm -e CHECKPOINT_DISABLE --entrypoint=/home/weave/scope \
|
||||
"$SCOPE_IMAGE" --mode=version
|
||||
docker run --rm --entrypoint=/home/weave/scope "$SCOPE_IMAGE" --mode=version
|
||||
;;
|
||||
|
||||
-h | help | -help | --help)
|
||||
|
||||
Reference in New Issue
Block a user