diff --git a/plugins/system/ps/disk/disk_darwin.go b/plugins/system/ps/disk/disk_darwin.go index 3aa85c89a..f9ebc2a27 100644 --- a/plugins/system/ps/disk/disk_darwin.go +++ b/plugins/system/ps/disk/disk_darwin.go @@ -6,7 +6,7 @@ import ( "syscall" "unsafe" - common "github.com/shirou/gopsutil/common" + "github.com/influxdb/tivan/plugins/system/ps/common" ) func DiskPartitions(all bool) ([]DiskPartitionStat, error) { diff --git a/plugins/system/ps/disk/disk_test.go b/plugins/system/ps/disk/disk_test.go index 9ac9eb9b9..6ed9b891a 100644 --- a/plugins/system/ps/disk/disk_test.go +++ b/plugins/system/ps/disk/disk_test.go @@ -5,7 +5,7 @@ import ( "runtime" "testing" - "github.com/shirou/gopsutil/common" + "github.com/influxdb/tivan/plugins/system/ps/common" ) func TestDisk_usage(t *testing.T) {