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 18d15bc commit 64e23db
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 64e23db

Please sign in to comment.