breaking change to pubsub client

26 views
Skip to first unread message

Jonathan Amsterdam

unread,
Jun 30, 2017, 9:12:30 AM6/30/17
to google-api-...@googlegroups.com
One change to thcloud.google.com/go/pubsub package:

Subscription.ModifyPushConfig is replaced with Subscription.Update.

Replace

    sub.ModifyPushConfig(ctx, pubsub.PushConfig{Endpoint: "https://example.com/push"})

with

    sub.Update(ctx, pubsub.SubscriptionConfigToUpdate{
PushConfig: &pubsub.PushConfig{Endpoint: "https://example.com/push"},
    })


Reply all
Reply to author
Forward
0 new messages