Merge pull request #191 from octomike/fix_format_index
fix: wrong index with format()
This commit is contained in:
@@ -508,7 +508,7 @@ def report_latest(env, node_name):
|
|||||||
|
|
||||||
if env == '*':
|
if env == '*':
|
||||||
query='["and",' \
|
query='["and",' \
|
||||||
'["=", "certname", "{1}"],' \
|
'["=", "certname", "{0}"],' \
|
||||||
'["=", "latest_report?", true]]'.format(node_name)
|
'["=", "latest_report?", true]]'.format(node_name)
|
||||||
else:
|
else:
|
||||||
query='["and",' \
|
query='["and",' \
|
||||||
|
|||||||
Reference in New Issue
Block a user