File tree 3 files changed +5
-5
lines changed
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 @@ -170,7 +170,7 @@ service_start() {
170
170
local QUIET=" $2 "
171
171
local SERVICE_ROOT=" $PLUGIN_DATA_ROOT /$SERVICE "
172
172
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
174
174
if [[ -n $ID ]]; then
175
175
[[ -z $QUIET ]] && dokku_log_warn " Service is already started"
176
176
if [[ ! -f " $SERVICE_ROOT /ID" ]] || [[ " $( cat " $SERVICE_ROOT /ID" ) " != " $ID " ]]; then
@@ -181,7 +181,7 @@ service_start() {
181
181
fi
182
182
183
183
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
185
185
local PASSWORD=" $( service_password " $SERVICE " ) "
186
186
187
187
if [[ -n $PREVIOUS_ID ]]; then
Original file line number Diff line number Diff line change 1
1
[plugin ]
2
2
description = " dokku statsd & graphite service plugin with grafana dashboard"
3
- version = " 1.32 .0"
3
+ version = " 1.34 .0"
4
4
[plugin .config ]
You can’t perform that action at this time.
0 commit comments