Skip to content

Commit

Permalink
Typo in PublishWithQOS godoc
Browse files Browse the repository at this point in the history
* `poken.Token` -> `paho.Token`
  • Loading branch information
bradshjg authored and deadprogram committed Apr 12, 2020
1 parent 6f87167 commit a31d554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/mqtt/mqtt_adaptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (a *Adaptor) PublishAndRetain(topic string, message []byte) bool {
return true
}

// PublishWithQOS allows per-publish QOS values to be set and returns a poken.Token
// PublishWithQOS allows per-publish QOS values to be set and returns a paho.Token
func (a *Adaptor) PublishWithQOS(topic string, qos int, message []byte) (paho.Token, error) {
if a.client == nil {
return nil, ErrNilClient
Expand Down

0 comments on commit a31d554

Please sign in to comment.