Commit 8c5c9335 authored by Steven Allen's avatar Steven Allen

chore: ignore pubsub deprecation warnings

parent ee42e34e
...@@ -56,6 +56,7 @@ func (api *PubSubAPI) Publish(ctx context.Context, topic string, data []byte) er ...@@ -56,6 +56,7 @@ func (api *PubSubAPI) Publish(ctx context.Context, topic string, data []byte) er
return err return err
} }
//nolint deprecated
return api.pubSub.Publish(topic, data) return api.pubSub.Publish(topic, data)
} }
...@@ -70,6 +71,7 @@ func (api *PubSubAPI) Subscribe(ctx context.Context, topic string, opts ...caopt ...@@ -70,6 +71,7 @@ func (api *PubSubAPI) Subscribe(ctx context.Context, topic string, opts ...caopt
return nil, err return nil, err
} }
//nolint deprecated
sub, err := api.pubSub.Subscribe(topic) sub, err := api.pubSub.Subscribe(topic)
if err != nil { if err != nil {
return nil, err return nil, err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment