Skip to content

Commit f6664b5

Browse files
committed
Release 1.34.0
1 parent 88fa543 commit f6664b5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

common-functions

+2-2
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ service_container_rm() {
457457
local ID
458458

459459
service_pause "$SERVICE"
460-
ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "name=^/$SERVICE_NAME$" --format '{{ .ID }}') || true
460+
ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "name=^/$SERVICE_NAME$") || true
461461
# this may be 'true' in tests...
462462
if [[ -z "$ID" ]] || [[ "$ID" == "true" ]]; then
463463
return 0
@@ -939,7 +939,7 @@ service_pause() {
939939
declare SERVICE="$1"
940940
local SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
941941
local SERVICE_NAME="$(get_service_name "$SERVICE")"
942-
local ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "name=^/$SERVICE_NAME$" --format '{{ .ID }}') || true
942+
local ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "name=^/$SERVICE_NAME$") || true
943943
[[ -z $ID ]] && dokku_log_warn "Service is already paused" && return 0
944944

945945
if [[ -n $ID ]]; then

functions

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ service_start() {
170170
local QUIET="$2"
171171
local SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
172172
local SERVICE_NAME="$(get_service_name "$SERVICE")"
173-
local ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=running" --filter "name=^/$SERVICE_NAME$" --format '{{ .ID }}') || true
173+
local ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=running" --filter "name=^/$SERVICE_NAME$") || true
174174
if [[ -n $ID ]]; then
175175
[[ -z $QUIET ]] && dokku_log_warn "Service is already started"
176176
if [[ ! -f "$SERVICE_ROOT/ID" ]] || [[ "$(cat "$SERVICE_ROOT/ID")" != "$ID" ]]; then
@@ -181,7 +181,7 @@ service_start() {
181181
fi
182182

183183
dokku_log_info2_quiet "Starting container"
184-
local PREVIOUS_ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=exited" --filter "name=^/$SERVICE_NAME$" --format '{{ .ID }}') || true
184+
local PREVIOUS_ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=exited" --filter "name=^/$SERVICE_NAME$") || true
185185
local PASSWORD="$(service_password "$SERVICE")"
186186

187187
if [[ -n $PREVIOUS_ID ]]; then

plugin.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[plugin]
22
description = "dokku statsd & graphite service plugin with grafana dashboard"
3-
version = "1.32.0"
3+
version = "1.34.0"
44
[plugin.config]

0 commit comments

Comments
 (0)