mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 06:50:18 +00:00
Fix linting (#1934)
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
This commit is contained in:
+2
-3
@@ -463,9 +463,8 @@ func messaging(s sdk.SDK, conf Config, token string, things []sdk.Thing, channel
|
||||
for _, thing := range things {
|
||||
for _, channel := range channels {
|
||||
conn := sdk.Connection{
|
||||
ThingID: thing.ID,
|
||||
ChannelID: channel.ID,
|
||||
Permission: "publish",
|
||||
ThingID: thing.ID,
|
||||
ChannelID: channel.ID,
|
||||
}
|
||||
if err := s.Connect(conn, token); err != nil {
|
||||
return fmt.Errorf("failed to connect thing %s to channel %s", thing.ID, channel.ID)
|
||||
|
||||
@@ -236,7 +236,6 @@ func Provision(conf Config) error {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user