diff --git a/plugins/inputs/nfs/nfs_test.go b/plugins/inputs/nfs/nfs_test.go index ba2a37dee..75d73c9d8 100644 --- a/plugins/inputs/nfs/nfs_test.go +++ b/plugins/inputs/nfs/nfs_test.go @@ -174,7 +174,7 @@ func TestNFSProcessStat(t *testing.T) { var acc testutil.Accumulator nfs := NFS{} - nfs.iostat = true + nfs.Iostat = true scanner := bufio.NewScanner(strings.NewReader(mountstatstext)) nfs.processText(scanner, &acc) @@ -204,7 +204,7 @@ func TestNFSProcessFull(t *testing.T) { var acc testutil.Accumulator nfs := NFS{} - nfs.fullstat = true + nfs.Fullstat = true scanner := bufio.NewScanner(strings.NewReader(mountstatstext)) nfs.processText(scanner, &acc)