From 245c224bb5b6aaf040598f122f0b6a48121c10ca Mon Sep 17 00:00:00 2001 From: oothman Date: Sun, 18 Jul 2021 13:40:20 +0200 Subject: [PATCH] Updating bmclib to v0.4.13. --- go.mod | 2 +- go.sum | 4 ++-- .../bmclib/providers/supermicro/supermicrox/supermicrox.go | 2 +- vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 6a055b3e..13361a5b 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.13 require ( github.com/DATA-DOG/go-sqlmock v1.5.0 github.com/GeertJohan/go.rice v1.0.2 - github.com/bmc-toolbox/bmclib v0.4.12 + github.com/bmc-toolbox/bmclib v0.4.13 github.com/bmc-toolbox/gin-go-metrics v0.0.2 github.com/daaku/go.zipexe v1.0.1 // indirect github.com/gin-gonic/gin v1.6.3 diff --git a/go.sum b/go.sum index 032a72d3..980df757 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+Ce github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/bmc-toolbox/bmclib v0.4.12 h1:L0MKJFhttIKlce52SYg/uV7bt8L/T0ZpSDvXQlhP63s= -github.com/bmc-toolbox/bmclib v0.4.12/go.mod h1:0WeM06Sacej9UMbt6yFtIRfrwmsl5IK2f4sAUMaNN+4= +github.com/bmc-toolbox/bmclib v0.4.13 h1:JOJvQ14Ns8HL2/SW358kJHlBMPdYTKwDFeCYDORoB7Q= +github.com/bmc-toolbox/bmclib v0.4.13/go.mod h1:0WeM06Sacej9UMbt6yFtIRfrwmsl5IK2f4sAUMaNN+4= github.com/bmc-toolbox/gin-go-metrics v0.0.2 h1:fIyChVWWq1+7npgx0F+SZc3RSVsekPBW+bmeKaHRFF0= github.com/bmc-toolbox/gin-go-metrics v0.0.2/go.mod h1:JgW/TlIv2rVW1dIFBSUY61L4Fz4fbSQco8hd8BDxOtw= github.com/bombsimon/logrusr v1.0.0 h1:CTCkURYAt5nhCCnKH9eLShYayj2/8Kn/4Qg3QfiU+Ro= diff --git a/vendor/github.com/bmc-toolbox/bmclib/providers/supermicro/supermicrox/supermicrox.go b/vendor/github.com/bmc-toolbox/bmclib/providers/supermicro/supermicrox/supermicrox.go index 4a442cfa..564c9cc6 100644 --- a/vendor/github.com/bmc-toolbox/bmclib/providers/supermicro/supermicrox/supermicrox.go +++ b/vendor/github.com/bmc-toolbox/bmclib/providers/supermicro/supermicrox/supermicrox.go @@ -268,7 +268,7 @@ func (s *SupermicroX) ChassisSerial() (serial string, err error) { return "", fmt.Errorf(e) } - return chassisInfo.SerialNumber, nil + return strings.ToLower(chassisInfo.SerialNumber), nil } // HardwareType returns just Model id string - supermicrox diff --git a/vendor/modules.txt b/vendor/modules.txt index da4ca0da..7a48f2ef 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -3,7 +3,7 @@ github.com/DATA-DOG/go-sqlmock # github.com/GeertJohan/go.rice v1.0.2 github.com/GeertJohan/go.rice github.com/GeertJohan/go.rice/embedded -# github.com/bmc-toolbox/bmclib v0.4.12 +# github.com/bmc-toolbox/bmclib v0.4.13 github.com/bmc-toolbox/bmclib/cfgresources github.com/bmc-toolbox/bmclib/devices github.com/bmc-toolbox/bmclib/discover