Update pkg/iptables/metrics.go

Co-authored-by: leonnicolas <60091705+leonnicolas@users.noreply.github.com>
This commit is contained in:
Alex Stockinger 2022-07-26 14:10:28 +02:00 committed by GitHub
parent c50a688b58
commit 7c2c391b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ func (m *metricsClientWrapper) ListChains(table string) ([]string, error) {
m.operationCounter.With(prometheus.Labels{ m.operationCounter.With(prometheus.Labels{
"operation": "ListChains", "operation": "ListChains",
"table": table, "table": table,
"chain": "", "chain": "*",
}).Inc() }).Inc()
return m.client.ListChains(table) return m.client.ListChains(table)
} }