mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 13:36:43 +00:00
metrics: json: default RUNTIME to 'default'
If a RUNTIME is not set, then save it as 'default' in the JSON rather than an empty string, as the emptry string does not render well later in any graphing. Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This commit is contained in:
committed by
David Lyle
parent
40cca1a8d4
commit
aeb6ebbab7
@@ -69,7 +69,7 @@ EOF
|
||||
|
||||
local json="$(cat << EOF
|
||||
"test" : {
|
||||
"runtime": "${RUNTIME}",
|
||||
"runtime": "${RUNTIME:-default}",
|
||||
"testname": "${TEST_NAME}"
|
||||
}
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user