Browse Source

add port command

tags/v0.17.0
Jonathan Cobb 4 years ago
parent
commit
fcec547e6f
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      bin/jenkins/test-redis

+ 4
- 1
bin/jenkins/test-redis View File

@@ -52,7 +52,7 @@ function stop_redis() {
}

if [[ -z ${1} ]] ; then
die "expected start or stop"
die "expected one of: start stop port"
fi

case ${1} in
@@ -62,6 +62,9 @@ case ${1} in
"stop")
stop_redis
;;
"port")
redis_port
;;
*)
die "invalid argument: ${1}"
;;


Loading…
Cancel
Save