Skip to content

Commit 62212f0

Browse files
committed
Fix double import.
1 parent d7fb597 commit 62212f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/integration/mqtt/backend.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"text/template"
99
"time"
1010

11-
mqtt "github.com/eclipse/paho.mqtt.golang"
1211
paho "github.com/eclipse/paho.mqtt.golang"
1312
"github.com/pkg/errors"
1413
log "github.com/sirupsen/logrus"
@@ -675,7 +674,7 @@ func (b *Backend) isClosed() bool {
675674
return b.connClosed
676675
}
677676

678-
func tokenWrapper(token mqtt.Token, timeout time.Duration) error {
677+
func tokenWrapper(token paho.Token, timeout time.Duration) error {
679678
if !token.WaitTimeout(timeout) {
680679
return errors.New("token wait timeout error")
681680
}

0 commit comments

Comments
 (0)