Skip to content

Commit 3330e94

Browse files
committed
Bump iothub dependency.
1 parent 870e064 commit 3330e94

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require (
44
cloud.google.com/go v0.34.0
55
github.com/Azure/azure-service-bus-go v0.4.1
66
github.com/NickBall/go-aes-key-wrap v0.0.0-20170929221519-1c3aa3e4dfc5
7-
github.com/amenzhinsky/iothub v0.0.0-20190415141912-fb38f4d4c9fb
7+
github.com/amenzhinsky/iothub v0.1.0
88
github.com/brocaar/lorawan v0.0.0-20190308082318-5ed881e0a2d7
99
github.com/eclipse/paho.mqtt.golang v1.1.1
1010
github.com/elazarl/go-bindata-assetfs v1.0.0

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf h1:qet1QNfXsQxTZq
2929
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
3030
github.com/amenzhinsky/iothub v0.0.0-20190415141912-fb38f4d4c9fb h1:ni2HPOcImx1iqm16mxjZRRzsXcwvzzsi2fZg0lRLvr0=
3131
github.com/amenzhinsky/iothub v0.0.0-20190415141912-fb38f4d4c9fb/go.mod h1:5SMEOj96ci5bC7bp/RB1jH44yY5SzQnspyOov8hk39w=
32+
github.com/amenzhinsky/iothub v0.1.0 h1:nwOWAgRW8WJV8d91NNLUf2Q9sN3OsNyMsE+jactOJhs=
33+
github.com/amenzhinsky/iothub v0.1.0/go.mod h1:5SMEOj96ci5bC7bp/RB1jH44yY5SzQnspyOov8hk39w=
3234
github.com/apex/log v1.1.0 h1:J5rld6WVFi6NxA6m8GJ1LJqu3+GiTFIt3mYv27gdQWI=
3335
github.com/apex/log v1.1.0/go.mod h1:yA770aXIDQrhVOIGurT/pVdfCpSq1GQV/auzMN5fzvY=
3436
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=

internal/backend/gateway/azureiothub/azureiothub.go

-3
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ func NewBackend(c config.Config) (gateway.Gateway, error) {
8282
return nil, errors.Wrap(err, "new queue client error")
8383
}
8484

85-
// TODO: migrate to IoT Hub REST API?
86-
// Unfortunately, there is no documentation available on how to use the API:
87-
// https://docs.microsoft.com/en-us/rest/api/iothub/service/senddevicecommand
8885
b.iotClient, err = iotservice.New(
8986
iotservice.WithConnectionString(conf.CommandsConnectionString),
9087
)

0 commit comments

Comments
 (0)