File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ service_container_rm() {
457
457
local ID
458
458
459
459
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
461
461
# this may be 'true' in tests...
462
462
if [[ -z " $ID " ]] || [[ " $ID " == " true" ]]; then
463
463
return 0
@@ -939,7 +939,7 @@ service_pause() {
939
939
declare SERVICE=" $1 "
940
940
local SERVICE_ROOT=" $PLUGIN_DATA_ROOT /$SERVICE "
941
941
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
943
943
[[ -z $ID ]] && dokku_log_warn " Service is already paused" && return 0
944
944
945
945
if [[ -n $ID ]]; then
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ service_start() {
196
196
local QUIET=" $2 "
197
197
local SERVICE_ROOT=" $PLUGIN_DATA_ROOT /$SERVICE "
198
198
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
200
200
if [[ -n $ID ]]; then
201
201
[[ -z $QUIET ]] && dokku_log_warn " Service is already started"
202
202
if [[ ! -f " $SERVICE_ROOT /ID" ]] || [[ " $( cat " $SERVICE_ROOT /ID" ) " != " $ID " ]]; then
@@ -207,7 +207,7 @@ service_start() {
207
207
fi
208
208
209
209
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
211
211
local ROOTPASSWORD=" $( service_root_password " $SERVICE " ) "
212
212
local PASSWORD=" $( service_password " $SERVICE " ) "
213
213
Original file line number Diff line number Diff line change 1
1
[plugin ]
2
2
description = " dokku mysql service plugin"
3
- version = " 1.32.2 "
3
+ version = " 1.34.0 "
4
4
[plugin .config ]
You can’t perform that action at this time.
0 commit comments