Fix linting (#1934)

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
This commit is contained in:
b1ackd0t
2023-10-18 15:05:08 +03:00
committed by GitHub
parent 687505c833
commit 89fcf1207d
8 changed files with 4 additions and 75 deletions
+2 -3
View File
@@ -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)
-1
View File
@@ -236,7 +236,6 @@ func Provision(conf Config) error {
}
}
return nil
}