This commit is contained in:
Jonathan Amsterdam 2019-04-05 08:13:32 -04:00
parent c0c9a8bad5
commit a6a5d80401

View file

@ -29,7 +29,7 @@ func (k *GoCDKPubSubInput) GetName() string {
func (k *GoCDKPubSubInput) Initialize(config util.Configuration) error { func (k *GoCDKPubSubInput) Initialize(config util.Configuration) error {
subURL := config.GetString("sub_url") subURL := config.GetString("sub_url")
glog.V(0).Infof("notification.gocdk_pub_sub.topic_url: %v", subURL) glog.V(0).Infof("notification.gocdk_pub_sub.sub_url: %v", subURL)
sub, err := pubsub.OpenSubscription(context.Background(), subURL) sub, err := pubsub.OpenSubscription(context.Background(), subURL)
if err != nil { if err != nil {
return err return err