Add container IDs to debug log
This commit is contained in:
parent
6cc265e931
commit
f90e1d154c
4
abra
4
abra
@ -1142,6 +1142,8 @@ sub_app_run(){
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
debug "Using Container ID ${CONTAINER}"
|
||||||
|
|
||||||
# 3wc: we want the "splitting" that shellcheck warns us about, so that -u and
|
# 3wc: we want the "splitting" that shellcheck warns us about, so that -u and
|
||||||
# $RUN_USER aren't treated as a single argument:
|
# $RUN_USER aren't treated as a single argument:
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
@ -1245,6 +1247,8 @@ sub_app_cp() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
debug "Using Container ID ${CONTAINER}"
|
||||||
|
|
||||||
# Replace $SERVICE with $CONTAINER in the original args
|
# Replace $SERVICE with $CONTAINER in the original args
|
||||||
CP_ARGS=$(echo "$SOURCE $DEST" | sed "s/$SERVICE:/$CONTAINER:/")
|
CP_ARGS=$(echo "$SOURCE $DEST" | sed "s/$SERVICE:/$CONTAINER:/")
|
||||||
# FIXME 3wc: this might cause problems for filenames with spaces..
|
# FIXME 3wc: this might cause problems for filenames with spaces..
|
||||||
|
Reference in New Issue
Block a user