From 64e23db0f525f2e98d5667c083f31ca7113d2df7 Mon Sep 17 00:00:00 2001 From: Nicolas Duchon Date: Sat, 4 May 2024 12:36:41 +0200 Subject: [PATCH] refactor: human friendly log output for self cid --- app/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/functions.sh b/app/functions.sh index 2fc8fec7..0fd968df 100644 --- a/app/functions.sh +++ b/app/functions.sh @@ -214,7 +214,7 @@ function get_self_cid { # If it's not 64 characters long, then it's probably not a container ID. if [[ ${#self_cid} == 64 ]]; then - echo "$self_cid" + echo "$(date "+%Y/%m/%d %T"), Info: my container ID is $self_cid" else echo "$(date "+%Y/%m/%d %T"), Error: can't get my container ID !" >&2 return 1