diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-02-14 12:28:15 +0000 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-02-14 13:03:08 +0000 |
| commit | a2c48ea3dc6f807b8befbf2895431d43d7fc81ab (patch) | |
| tree | 1b241f766987e29ecee8d30bb47655fed9075b36 /vendor/cloud.google.com/go/pubsub/topic.go | |
| parent | c93187e8318d1a6289b2b2ad297dd6b6cfef6cf7 (diff) | |
mod: bump cloud.google.com/go/pubsub from 1.33.0 to 1.36.1
Bumps [cloud.google.com/go/pubsub](https://github.com/googleapis/google-cloud-go) from 1.33.0 to 1.36.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.33.0...pubsub/v1.36.1)
---
updated-dependencies:
- dependency-name: cloud.google.com/go/pubsub
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/cloud.google.com/go/pubsub/topic.go')
| -rw-r--r-- | vendor/cloud.google.com/go/pubsub/topic.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/cloud.google.com/go/pubsub/topic.go b/vendor/cloud.google.com/go/pubsub/topic.go index c44829822..14ef1fe2c 100644 --- a/vendor/cloud.google.com/go/pubsub/topic.go +++ b/vendor/cloud.google.com/go/pubsub/topic.go @@ -228,7 +228,7 @@ type TopicConfig struct { // timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) // that is up to `RetentionDuration` in the past. If this field is // not set, message retention is controlled by settings on individual - // subscriptions. Cannot be more than 7 days or less than 10 minutes. + // subscriptions. Cannot be more than 31 days or less than 10 minutes. // // For more information, see https://cloud.google.com/pubsub/docs/replay-overview#topic_message_retention. RetentionDuration optional.Duration @@ -287,7 +287,7 @@ type TopicConfigToUpdate struct { // and may change. MessageStoragePolicy *MessageStoragePolicy - // If set to a positive duration between 10 minutes and 7 days, RetentionDuration is changed. + // If set to a positive duration between 10 minutes and 31 days, RetentionDuration is changed. // If set to a negative value, this clears RetentionDuration from the topic. // If nil, the retention duration remains unchanged. RetentionDuration optional.Duration @@ -589,7 +589,6 @@ func (t *Topic) Publish(ctx context.Context, msg *Message) *PublishResult { t.initBundler() t.mu.RLock() defer t.mu.RUnlock() - // TODO(aboulhosn) [from bcmills] consider changing the semantics of bundler to perform this logic so we don't have to do it here if t.stopped { ipubsub.SetPublishResult(r, "", ErrTopicStopped) return r |
