Commit a9245368 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Fix decorate_json utility

parent 3b990858
......@@ -18,7 +18,7 @@ def decorate_json(json_body: dict, config: ConfigFromKnowledge):
commit = os.environ.get("CI_COMMIT_SHA")
# convert values to float to prevent field type conflicts
json_body = [dict([k, float(v)] for k, v in json_body.items())]
json_body = dict([k, float(v)] for k, v in json_body.items())
new_body = {'measurement': config.problem_name, 'tags': {}}
new_body['tags']['host'] = config.host_name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment