fix: wrong index with format()

This commit is contained in:
Michael Krause
2015-11-18 12:01:34 +01:00
parent f63a0cefcb
commit 8ddec01ca0

View File

@@ -506,7 +506,7 @@ def report_latest(env, node_name):
if env == '*':
query='["and",' \
'["=", "certname", "{1}"],' \
'["=", "certname", "{0}"],' \
'["=", "latest_report?", true]]'.format(node_name)
else:
query='["and",' \