| Index: milo/appengine/buildbot/pubsub.go
|
| diff --git a/milo/appengine/buildbot/pubsub.go b/milo/appengine/buildbot/pubsub.go
|
| index 52c0e6ea07a560da2b8ea6dbd8232fa41e44d54f..db8136fcf05ed27cb3a44521132d272cce719a0a 100644
|
| --- a/milo/appengine/buildbot/pubsub.go
|
| +++ b/milo/appengine/buildbot/pubsub.go
|
| @@ -313,15 +313,15 @@ func pubSubHandlerImpl(c context.Context, r *http.Request) int {
|
| return http.StatusInternalServerError
|
| }
|
| switch msg.Subscription {
|
| - case settings.Buildbot.PublicTopic:
|
| + case settings.Buildbot.PublicSubscription:
|
| internal = false
|
| - case settings.Buildbot.InternalTopic:
|
| + case settings.Buildbot.InternalSubscription:
|
| // internal = true, but that's already set.
|
| default:
|
| logging.Errorf(
|
| c, "Subscription name %s does not match %s or %s",
|
| - msg.Subscription, settings.Buildbot.PublicTopic,
|
| - settings.Buildbot.InternalTopic)
|
| + msg.Subscription, settings.Buildbot.PublicSubscription,
|
| + settings.Buildbot.InternalSubscription)
|
| // This is a configuration error. Tell PubSub to retry until we fix our
|
| // configs.
|
| return http.StatusInternalServerError
|
|
|