From 1fa9259392668fb1e9bead6c51ac92b7ae80b164 Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Wed, 14 Apr 2021 20:43:07 +0200 Subject: [PATCH] Fix: sync nfsclient ops map with nfsclient struct (#9128) --- plugins/inputs/nfsclient/nfsclient.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/inputs/nfsclient/nfsclient.go b/plugins/inputs/nfsclient/nfsclient.go index 6b621e4bd..543ba759f 100644 --- a/plugins/inputs/nfsclient/nfsclient.go +++ b/plugins/inputs/nfsclient/nfsclient.go @@ -467,6 +467,9 @@ func (n *NFSClient) Init() error { } } + n.nfs3Ops = nfs3Ops + n.nfs4Ops = nfs4Ops + if len(n.IncludeMounts) > 0 { n.Log.Debugf("Including these mount patterns: %v", n.IncludeMounts) } else {