Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
8c5c9335
Commit
8c5c9335
authored
Dec 02, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: ignore pubsub deprecation warnings
parent
ee42e34e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
core/coreapi/pubsub.go
core/coreapi/pubsub.go
+2
-0
No files found.
core/coreapi/pubsub.go
View file @
8c5c9335
...
...
@@ -56,6 +56,7 @@ func (api *PubSubAPI) Publish(ctx context.Context, topic string, data []byte) er
return
err
}
//nolint deprecated
return
api
.
pubSub
.
Publish
(
topic
,
data
)
}
...
...
@@ -70,6 +71,7 @@ func (api *PubSubAPI) Subscribe(ctx context.Context, topic string, opts ...caopt
return
nil
,
err
}
//nolint deprecated
sub
,
err
:=
api
.
pubSub
.
Subscribe
(
topic
)
if
err
!=
nil
{
return
nil
,
err
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment