From b423bd03401d00e754d5e5c0236feda4dfb02e28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 07:50:36 +0000 Subject: mod: do: bump golang.org/x/oauth2 from 0.5.0 to 0.10.0 Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.5.0 to 0.10.0. - [Commits](https://github.com/golang/oauth2/compare/v0.5.0...v0.10.0) --- updated-dependencies: - dependency-name: golang.org/x/oauth2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- vendor/cloud.google.com/go/pubsub/message.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vendor/cloud.google.com/go/pubsub/message.go') diff --git a/vendor/cloud.google.com/go/pubsub/message.go b/vendor/cloud.google.com/go/pubsub/message.go index 94010cd0c..33d87735c 100644 --- a/vendor/cloud.google.com/go/pubsub/message.go +++ b/vendor/cloud.google.com/go/pubsub/message.go @@ -157,20 +157,20 @@ func (ah *psAckHandler) OnNack() { } func (ah *psAckHandler) OnAckWithResult() *AckResult { + // call done with true to indicate ack. + ah.done(true) if !ah.exactlyOnceDelivery { return newSuccessAckResult() } - // call done with true to indicate ack. - ah.done(true) return ah.ackResult } func (ah *psAckHandler) OnNackWithResult() *AckResult { + // call done with false to indicate nack. + ah.done(false) if !ah.exactlyOnceDelivery { return newSuccessAckResult() } - // call done with false to indicate nack. - ah.done(false) return ah.ackResult } -- cgit mrf-deployment