diff --git a/plugins/lustre2/lustre2.go b/plugins/lustre2/lustre2.go index fab8f07bb..daa984899 100644 --- a/plugins/lustre2/lustre2.go +++ b/plugins/lustre2/lustre2.go @@ -14,7 +14,7 @@ import ( "strings" "github.com/influxdb/telegraf/plugins" - common "github.com/shirou/gopsutil/common" + common "github.com/shirou/gopsutil/internal/common" ) // Lustre proc files can change between versions, so we want to future-proof diff --git a/plugins/system/ps.go b/plugins/system/ps.go index 94a8a68da..7f049a7cf 100644 --- a/plugins/system/ps.go +++ b/plugins/system/ps.go @@ -7,10 +7,10 @@ import ( dc "github.com/fsouza/go-dockerclient" "github.com/influxdb/telegraf/plugins" - "github.com/shirou/gopsutil/common" "github.com/shirou/gopsutil/cpu" "github.com/shirou/gopsutil/disk" "github.com/shirou/gopsutil/docker" + "github.com/shirou/gopsutil/internal/common" "github.com/shirou/gopsutil/mem" "github.com/shirou/gopsutil/net" )