Skip to content

Commit 0cd46e0

Browse files
committed
Release 1.34.0
1 parent 9e3761b commit 0cd46e0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

common-functions

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ service_start() {
196196
local QUIET="$2"
197197
local SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
198198
local SERVICE_NAME="$(get_service_name "$SERVICE")"
199-
local ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=running" --filter "name=^/$SERVICE_NAME$" --format '{{ .ID }}') || true
199+
local ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=running" --filter "name=^/$SERVICE_NAME$") || true
200200
if [[ -n $ID ]]; then
201201
[[ -z $QUIET ]] && dokku_log_warn "Service is already started"
202202
if [[ ! -f "$SERVICE_ROOT/ID" ]] || [[ "$(cat "$SERVICE_ROOT/ID")" != "$ID" ]]; then
@@ -207,7 +207,7 @@ service_start() {
207207
fi
208208

209209
dokku_log_info2_quiet "Starting container"
210-
local PREVIOUS_ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=exited" --filter "name=^/$SERVICE_NAME$" --format '{{ .ID }}') || true
210+
local PREVIOUS_ID=$("$DOCKER_BIN" container ps -aq --no-trunc --filter "status=exited" --filter "name=^/$SERVICE_NAME$") || true
211211
local ROOTPASSWORD="$(service_root_password "$SERVICE")"
212212
local PASSWORD="$(service_password "$SERVICE")"
213213

plugin.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[plugin]
22
description = "dokku mysql service plugin"
3-
version = "1.32.2"
3+
version = "1.34.0"
44
[plugin.config]

0 commit comments

Comments
 (0)