diff --git a/go-server-server/go.mod b/go-server-server/go.mod index b951c3c..666a656 100644 --- a/go-server-server/go.mod +++ b/go-server-server/go.mod @@ -6,7 +6,7 @@ require ( github.com/comail/colog v0.0.0-20160416085026-fba8e7b1f46c github.com/go-redis/redis/v7 v7.3.0 github.com/gorilla/mux v1.7.4 - github.com/satori/go.uuid v1.2.0 + github.com/satori/go.uuid v1.2.1-0.20180404165556-75cca531ea76 github.com/vharitonsky/iniflags v0.0.0-20180513140207-a33cd0b5f3de swsscommon v0.0.0 ) diff --git a/go-server-server/go.sum b/go-server-server/go.sum index 86ec021..53d70d2 100644 --- a/go-server-server/go.sum +++ b/go-server-server/go.sum @@ -23,6 +23,8 @@ github.com/onsi/gomega v1.7.0 h1:XPnZz8VVBHjVsy1vzJmRwIcSwiUO+JFfrv/xGiigmME= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/satori/go.uuid v1.2.1-0.20180404165556-75cca531ea76 h1:ofyVTM1w4iyKwaQIlRR6Ip06mXXx5Cnz7a4mTGYq1hE= +github.com/satori/go.uuid v1.2.1-0.20180404165556-75cca531ea76/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/vharitonsky/iniflags v0.0.0-20180513140207-a33cd0b5f3de h1:fkw+7JkxF3U1GzQoX9h69Wvtvxajo5Rbzy6+YMMzPIg= github.com/vharitonsky/iniflags v0.0.0-20180513140207-a33cd0b5f3de/go.mod h1:irMhzlTz8+fVFj6CH2AN2i+WI5S6wWFtK3MBCIxIpyI= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/go-server-server/go/persistent.go b/go-server-server/go/persistent.go index 9826538..7cb3018 100644 --- a/go-server-server/go/persistent.go +++ b/go-server-server/go/persistent.go @@ -84,7 +84,7 @@ func InitialiseVariables() { now := time.Now().In(loc) ServerResetTime = fmt.Sprintf("%v", now) - newuuid := uuid.NewV4() + newuuid,_ := uuid.NewV4() ServerResetGuid = newuuid.String() err = CacheSetConfigResetInfo(ServerResetGuid, ServerResetTime)