Skip to content

Commit

Permalink
refactor: human friendly log output for self cid
Browse files Browse the repository at this point in the history
  • Loading branch information
buchdag committed May 4, 2024
1 parent d110a06 commit a8eca1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8eca1e

Please sign in to comment.