fix(logger): Remove errant 'fi' statements
Remove 'fi' statements left over from previous logic checks.
This commit is contained in:
@@ -95,7 +95,6 @@ writeJsonLog() {
|
|||||||
--arg code "${5:999}" \
|
--arg code "${5:999}" \
|
||||||
'{"timestamp":$timestamp, "hostname":$hostname, "programName":$pName, "pid":$pid, "level":$level, "status":$status, "message":$message, "operation":$operation, "code":$code}' \
|
'{"timestamp":$timestamp, "hostname":$hostname, "programName":$pName, "pid":$pid, "level":$level, "status":$status, "message":$message, "operation":$operation, "code":$code}' \
|
||||||
)"
|
)"
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$PROPS" | jq "."
|
echo "$PROPS" | jq "."
|
||||||
return
|
return
|
||||||
@@ -119,7 +118,6 @@ MESSAGE="$1"
|
|||||||
OPERATION="${4:UNSPECIFIED}"
|
OPERATION="${4:UNSPECIFIED}"
|
||||||
ERRNO="${5:999}"
|
ERRNO="${5:999}"
|
||||||
end
|
end
|
||||||
fi
|
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user