Skip to content

Commit dce4156

Browse files
committed
Update to use v5.1.2 of mq-golang
1 parent 544ba7b commit dce4156

File tree

16 files changed

+398
-40
lines changed

16 files changed

+398
-40
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.13
44

55
require (
66
github.com/aws/aws-sdk-go v1.30.18
7-
github.com/ibm-messaging/mq-golang/v5 v5.1.1
7+
github.com/ibm-messaging/mq-golang/v5 v5.1.2
88
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d
99
github.com/prometheus/client_golang v1.6.0
1010
github.com/sirupsen/logrus v1.5.0

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ github.com/ibm-messaging/mq-golang/v5 v5.1.0 h1:fWTWSV9uBv847rVQqGPRGGCQr61FJR7e
4444
github.com/ibm-messaging/mq-golang/v5 v5.1.0/go.mod h1:ywCwmYbJOU/E0rl+z4GiNoxVMty68O+LVO39a1VMXrE=
4545
github.com/ibm-messaging/mq-golang/v5 v5.1.1 h1:rXlyYWyG4paNImj7cDXJsxJHONcI1nhD6XBiebDsoeQ=
4646
github.com/ibm-messaging/mq-golang/v5 v5.1.1/go.mod h1:ywCwmYbJOU/E0rl+z4GiNoxVMty68O+LVO39a1VMXrE=
47+
github.com/ibm-messaging/mq-golang/v5 v5.1.2 h1:u0e1Vce2TNqJpH088vF77rDMsnMRWnGaOIlxZo4DMZc=
48+
github.com/ibm-messaging/mq-golang/v5 v5.1.2/go.mod h1:ywCwmYbJOU/E0rl+z4GiNoxVMty68O+LVO39a1VMXrE=
4749
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d h1:/WZQPMZNsjZ7IlCpsLGdQBINg5bxKQ1K1sh6awxLtkA=
4850
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
4951
github.com/jmespath/go-jmespath v0.3.0 h1:OS12ieG61fsCg5+qLJ+SsW9NicxNkg3b25OyT2yCeUc=

pkg/config/config.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,12 @@ func InitLog(cm Config) {
237237
}
238238
log.SetLevel(level)
239239
logger := new(mqmetric.Logger)
240+
logger.Trace = log.Tracef
240241
logger.Debug = log.Debugf
241242
logger.Info = log.Infof
242-
logger.Error = log.Errorf
243243
logger.Warn = log.Warnf
244+
logger.Error = log.Errorf
245+
logger.Fatal = log.Fatalf
246+
logger.Panic = log.Panicf
244247
mqmetric.SetLogger(logger)
245248
}

vendor/github.com/ibm-messaging/mq-golang/v5/ibmmq/mqicb.go

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ibm-messaging/mq-golang/v5/ibmmq/mqistr.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/ibm-messaging/mq-golang/v5/mqmetric/channel.go

Lines changed: 54 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)