From 07bc50d5a80bf746e5938a2d46a55d6f84c807bf Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Tue, 8 Dec 2020 21:15:42 +0200 Subject: [PATCH] go.mod: update to klauspost/cpuid/v2@v2.02 Signed-off-by: Mikko Ylinen --- go.mod | 3 +-- go.sum | 5 +++-- source/internal/cpuidutils/cpuid_amd64.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 893166717..9885becfd 100644 --- a/go.mod +++ b/go.mod @@ -4,9 +4,8 @@ go 1.15 require ( github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815 - github.com/fsnotify/fsnotify v1.4.9 github.com/golang/protobuf v1.4.3 - github.com/klauspost/cpuid v1.3.2-0.20201127150341-242d0b0aa207 + github.com/klauspost/cpuid/v2 v2.0.2 github.com/onsi/ginkgo v1.11.0 github.com/onsi/gomega v1.7.0 github.com/smartystreets/assertions v1.2.0 diff --git a/go.sum b/go.sum index 1bcaa2426..96a802846 100644 --- a/go.sum +++ b/go.sum @@ -401,9 +401,10 @@ github.com/karrick/godirwalk v1.7.5/go.mod h1:2c9FRhkDxdIbgkOnCEvnSWs71Bhugbl46s github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/cpuid v1.2.0 h1:NMpwD2G9JSFOE1/TJjGSo5zG7Yb2bTe7eq1jH+irmeE= github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= -github.com/klauspost/cpuid v1.3.2-0.20201127150341-242d0b0aa207 h1:p4Tby4HJ6itc7Bra1IzOIzYOvumFldKbHp79Y+W39d4= -github.com/klauspost/cpuid v1.3.2-0.20201127150341-242d0b0aa207/go.mod h1:bYW4mA6ZgKPob1/Dlai2LviZJO7KGI3uoWLd42rAQw4= +github.com/klauspost/cpuid/v2 v2.0.2 h1:pd2FBxFydtPn2ywTLStbFg9CJKrojATnpeJWSP7Ys4k= +github.com/klauspost/cpuid/v2 v2.0.2/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= diff --git a/source/internal/cpuidutils/cpuid_amd64.go b/source/internal/cpuidutils/cpuid_amd64.go index 29ca39ad7..29c2aad03 100644 --- a/source/internal/cpuidutils/cpuid_amd64.go +++ b/source/internal/cpuidutils/cpuid_amd64.go @@ -17,7 +17,7 @@ limitations under the License. package cpuidutils import ( - "github.com/klauspost/cpuid" + "github.com/klauspost/cpuid/v2" ) // Discover returns feature names for all the supported CPU features.