Skip to content
Snippets Groups Projects
Commit 34262521 authored by Alexander van Amesfoort's avatar Alexander van Amesfoort
Browse files

Fix timestamp at messagebus delete queue. Fixes r37944

parent 5d58c533
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ function create_queue() {
# create_queue [host:]queue
HOSTQUEUE="$1"
ts=`date '+%F %T,%3N'` # e.g. 2015-10-16 16:00:46,186
ts=`date '+%F %T.%N'` # e.g. 2015-10-16 16:00:46.186
echo "$ts INFO - MessageFuncs.sh: Creating queue $FULL_QUEUE_PREFIX$HOSTQUEUE" >&2
_qpid_receive "$HOSTQUEUE" "; { create: always }" --print-content no --ignore-reply-to
......@@ -126,8 +126,8 @@ function delete_queue() {
# Will not remove used queues
HOSTQUEUE="$1"
ts=`date '+%F %T,%3N'` # e.g. 2015-10-16 16:00:46,186
echo "%ts INFO - MessageFuncs.sh: Deleting queue $FULL_QUEUE_PREFIX$HOSTQUEUE" >&2
ts=`date '+%F %T.%N'` # e.g. 2015-10-16 16:00:46.186
echo "$ts INFO - MessageFuncs.sh: Deleting queue $FULL_QUEUE_PREFIX$HOSTQUEUE" >&2
_qpid_receive "$HOSTQUEUE" "; { delete: always }" --print-content no --ignore-reply-to
}
......
......@@ -6,7 +6,7 @@
error()
{
ts=`date '+%F %T,%3N'` # e.g. 2015-10-16 16:00:46,186
ts=`date '+%F %T.%N'` # e.g. 2015-10-16 16:00:46.186
echo "$ts ERROR - $@" >&2
exit 1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment