Skip to content

Commit 17388de

Browse files
committed
Use bash style definition for timestamp functions
1 parent 0d0199f commit 17388de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/build-script-impl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,20 +3016,20 @@ for host in "${ALL_HOSTS[@]}"; do
30163016
done
30173017
done
30183018

3019-
function printJSONTimestamp {
3019+
function printJSONTimestamp() {
30203020
local command=$1
30213021
local kind=$2
30223022

30233023
echo "{ \"command\": \"${command}\", \"${kind}\": \"$(date "+%Y-%m-%dT%H:%M:%S")\" }"
30243024
}
30253025

3026-
function printJSONStartTimestamp {
3026+
function printJSONStartTimestamp() {
30273027
local command=$1
30283028

30293029
printJSONTimestamp ${command} "start"
30303030
}
30313031

3032-
function printJSONEndTimestamp {
3032+
function printJSONEndTimestamp() {
30333033
local command=$1
30343034

30353035
printJSONTimestamp ${command} "end"

0 commit comments

Comments
 (0)