Commit d67e1f8a authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'arthur-zzz-master-patch-08509' into 'master'

Fix ./noc confdb query output

See merge request !5894
parents af2c47ff 60af3460
Pipeline #34274 passed with stages
in 53 minutes and 46 seconds
......@@ -197,7 +197,7 @@ class Command(BaseCommand):
if key not in headers:
headers += [key]
width += [40]
row.insert(headers.count(key), r[key])
row.insert(headers.index(key), r[key])
table += [row]
if table:
self.print("Result:\n", format_table(width, [headers] + table))
......
Supports Markdown
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