From 93fe0cab2eb61bc165adff07fe1af8ad05af172e Mon Sep 17 00:00:00 2001 From: Anatol Pomozov Date: Sat, 17 Sep 2022 12:52:54 -0700 Subject: smart.go: switch to simpler ReadGenericAttributes() api ...to get the device temperature. This API abstracts differences between different device interfaces (SATA vs NVMe vs ...) --- go.mod | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index dceebbd..940efe4 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ require ( github.com/BurntSushi/toml v1.1.0 // indirect github.com/VictoriaMetrics/metrics v1.18.1 github.com/VividCortex/ewma v1.2.0 - github.com/anatol/smart.go v0.0.0-20220615232124-64dea241c3bb + github.com/anatol/smart.go v0.0.0-20220917195147-c0b00d90f8cc github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21 github.com/cloudfoundry/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21 // indirect github.com/distatus/battery v0.10.0 @@ -18,9 +18,8 @@ require ( github.com/onsi/gomega v1.10.4 // indirect github.com/shibukawa/configdir v0.0.0-20170330084843-e180dbdc8da0 github.com/shirou/gopsutil v3.20.12+incompatible - github.com/stretchr/testify v1.7.2 + github.com/stretchr/testify v1.8.0 github.com/xxxserxxx/lingo/v2 v2.0.1 - golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect ) -- cgit v1.2.3