From 954168fe0c3182a376fedea6eddfcee586f6160f Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Mon, 6 Feb 2017 16:27:56 -0800 Subject: [PATCH] Update `shirou/gopsutil/313` to pull in lowercased `HostID`s. --- vendor/github.com/shirou/gopsutil/host/host_darwin.go | 2 +- vendor/github.com/shirou/gopsutil/host/host_freebsd.go | 2 +- vendor/github.com/shirou/gopsutil/host/host_linux.go | 4 ++-- vendor/github.com/shirou/gopsutil/host/host_windows.go | 2 +- vendor/vendor.json | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/vendor/github.com/shirou/gopsutil/host/host_darwin.go b/vendor/github.com/shirou/gopsutil/host/host_darwin.go index 08e9809c8..bbd134f9d 100644 --- a/vendor/github.com/shirou/gopsutil/host/host_darwin.go +++ b/vendor/github.com/shirou/gopsutil/host/host_darwin.go @@ -59,7 +59,7 @@ func Info() (*InfoStat, error) { values, err := common.DoSysctrl("kern.uuid") if err == nil && len(values) == 1 && values[0] != "" { - ret.HostID = values[0] + ret.HostID = strings.ToLower(values[0]) } return ret, nil diff --git a/vendor/github.com/shirou/gopsutil/host/host_freebsd.go b/vendor/github.com/shirou/gopsutil/host/host_freebsd.go index 481d3df87..74137cbf7 100644 --- a/vendor/github.com/shirou/gopsutil/host/host_freebsd.go +++ b/vendor/github.com/shirou/gopsutil/host/host_freebsd.go @@ -62,7 +62,7 @@ func Info() (*InfoStat, error) { values, err := common.DoSysctrl("kern.hostuuid") if err == nil && len(values) == 1 && values[0] != "" { - ret.HostID = values[0] + ret.HostID = strings.ToLower(values[0]) } return ret, nil diff --git a/vendor/github.com/shirou/gopsutil/host/host_linux.go b/vendor/github.com/shirou/gopsutil/host/host_linux.go index 69cc1380c..a34c67d33 100644 --- a/vendor/github.com/shirou/gopsutil/host/host_linux.go +++ b/vendor/github.com/shirou/gopsutil/host/host_linux.go @@ -70,14 +70,14 @@ func Info() (*InfoStat, error) { case common.PathExists(sysProductUUID): lines, err := common.ReadLines(sysProductUUID) if err == nil && len(lines) > 0 && lines[0] != "" { - ret.HostID = lines[0] + ret.HostID = strings.ToLower(lines[0]) break } fallthrough default: values, err := common.DoSysctrl("kernel.random.boot_id") if err == nil && len(values) == 1 && values[0] != "" { - ret.HostID = values[0] + ret.HostID = strings.ToLower(values[0]) } } diff --git a/vendor/github.com/shirou/gopsutil/host/host_windows.go b/vendor/github.com/shirou/gopsutil/host/host_windows.go index a689d4784..b5fb32220 100644 --- a/vendor/github.com/shirou/gopsutil/host/host_windows.go +++ b/vendor/github.com/shirou/gopsutil/host/host_windows.go @@ -64,7 +64,7 @@ func Info() (*InfoStat, error) { { hostID, err := getMachineGuid() if err == nil { - ret.HostID = hostID + ret.HostID = strings.ToLower(hostID) } } diff --git a/vendor/vendor.json b/vendor/vendor.json index 25f3fd771..902077547 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -705,10 +705,10 @@ "revisionTime": "2017-02-04T05:36:48Z" }, { - "checksumSHA1": "j5cGmi4mFeXmsLpSTiakU/k7aOc=", + "checksumSHA1": "GsqEEmGv6sj8DreS2SYXRkoZ9NI=", "path": "github.com/shirou/gopsutil/host", - "revision": "32b6636de04b303274daac3ca2b10d3b0e4afc35", - "revisionTime": "2017-02-04T05:36:48Z" + "revision": "36f5033d9787f85e97cc259fcb33bd699f3dbe0f", + "revisionTime": "2017-02-07T00:10:46Z" }, { "checksumSHA1": "hz9RxkaV3Tnju2eiHBWO/Yv7n5c=",