diff options
author | Ben Kochie <superq@gmail.com> | 2020-06-16 14:42:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 14:42:12 +0200 |
commit | 3715be6ae899f2a9b9dbfd9c39f3e09a7bd4559f (patch) | |
tree | 7e6edcf728ddc240be9c0bddb1ff195eb81ddabc /vendor/github.com/prometheus/procfs/net_conntrackstat.go | |
parent | b9c96706a7425383902b6143d097cf6d7cfd1960 (diff) | |
parent | c46e7c5d651f7583859ae57b527d07cd933b49d3 (diff) | |
download | prometheus_node_collector-1.0.1.tar.bz2 prometheus_node_collector-1.0.1.tar.xz prometheus_node_collector-1.0.1.zip |
Merge pull request #1751 from prometheus/superq/release-1.0.1v1.0.1
Release 1.0.1
Diffstat (limited to 'vendor/github.com/prometheus/procfs/net_conntrackstat.go')
-rw-r--r-- | vendor/github.com/prometheus/procfs/net_conntrackstat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/prometheus/procfs/net_conntrackstat.go b/vendor/github.com/prometheus/procfs/net_conntrackstat.go index 1e27c83..b637be9 100644 --- a/vendor/github.com/prometheus/procfs/net_conntrackstat.go +++ b/vendor/github.com/prometheus/procfs/net_conntrackstat.go | |||
@@ -38,7 +38,7 @@ type ConntrackStatEntry struct { | |||
38 | SearchRestart uint64 | 38 | SearchRestart uint64 |
39 | } | 39 | } |
40 | 40 | ||
41 | // Retrieves netfilter's conntrack statistics, split by CPU cores | 41 | // ConntrackStat retrieves netfilter's conntrack statistics, split by CPU cores |
42 | func (fs FS) ConntrackStat() ([]ConntrackStatEntry, error) { | 42 | func (fs FS) ConntrackStat() ([]ConntrackStatEntry, error) { |
43 | return readConntrackStat(fs.proc.Path("net", "stat", "nf_conntrack")) | 43 | return readConntrackStat(fs.proc.Path("net", "stat", "nf_conntrack")) |
44 | } | 44 | } |