aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthel Morgan <eth@ethulhu.co.uk>2020-06-28 21:59:12 +0100
committerEthel Morgan <eth@ethulhu.co.uk>2020-06-28 21:59:12 +0100
commit20e1d9a1c840384c7fe28c70c40342f666b690a6 (patch)
tree3229391ba327979bbc5cead58cea8c62885781ff
parent7fb447f8e846fd54ea2bbbf5b383102980d566d7 (diff)
update Catbus version, add a logging statement
Diffstat (limited to '')
-rw-r--r--cmd/catbus-actuator-wakeonlan/main.go1
-rw-r--r--default.nix2
-rw-r--r--go.mod2
-rw-r--r--go.sum2
4 files changed, 5 insertions, 2 deletions
diff --git a/cmd/catbus-actuator-wakeonlan/main.go b/cmd/catbus-actuator-wakeonlan/main.go
index 22157e9..7556f1e 100644
--- a/cmd/catbus-actuator-wakeonlan/main.go
+++ b/cmd/catbus-actuator-wakeonlan/main.go
@@ -81,6 +81,7 @@ func main() {
catbus := catbus.NewClient(config.BrokerURI, catbusOptions)
+ log.Info("connecting to MQTT broker")
if err := catbus.Connect(); err != nil {
log.WithError(err).Fatal("could not connect to MQTT broker")
}
diff --git a/default.nix b/default.nix
index 97a3da6..372ccc3 100644
--- a/default.nix
+++ b/default.nix
@@ -10,7 +10,7 @@ buildGoModule rec {
version = "latest";
goPackagePath = "go.eth.moe/catbus-wakeonlan";
- modSha256 = "1vv9g9g55zpq68snpk3m6ashzwipy5w3xng06l7i5pbjw1n27m0g";
+ modSha256 = "0j3yd7da2gicbkwxf27sshdd32qzkjvj33pfhljafizl7fxyd7lq";
src = ./.;
diff --git a/go.mod b/go.mod
index ad9647a..99fc015 100644
--- a/go.mod
+++ b/go.mod
@@ -7,6 +7,6 @@ module go.eth.moe/catbus-wakeonlan
go 1.14
require (
- go.eth.moe/catbus v0.0.3
+ go.eth.moe/catbus v0.0.4
go.eth.moe/logger v0.0.1
)
diff --git a/go.sum b/go.sum
index 563bf35..6d12fc9 100644
--- a/go.sum
+++ b/go.sum
@@ -16,6 +16,8 @@ go.eth.moe/catbus v0.0.2 h1:gTbmKzhTTs4O+cuq6Wlmj8KhRQuybe/qtdD88SwlzmI=
go.eth.moe/catbus v0.0.2/go.mod h1:bVYTqNPbc4QCACFDMTKFv/5cFZWYDKPSamTP0/lbvW0=
go.eth.moe/catbus v0.0.3 h1:foZX7+kYuL3x7f1gX1qPeA3Y66D8I2Vs1RNfAkFXQmk=
go.eth.moe/catbus v0.0.3/go.mod h1:bVYTqNPbc4QCACFDMTKFv/5cFZWYDKPSamTP0/lbvW0=
+go.eth.moe/catbus v0.0.4 h1:AG34lg331iGzVAKkYtfpO7sB7QFpg5+Izf1znRbDIxw=
+go.eth.moe/catbus v0.0.4/go.mod h1:bVYTqNPbc4QCACFDMTKFv/5cFZWYDKPSamTP0/lbvW0=
go.eth.moe/logger v0.0.1 h1:ncY0iuVIljShMQtwy+77DvoHDlu6zVZ+7XIT7jyprrY=
go.eth.moe/logger v0.0.1/go.mod h1:G20TP3ON2S95olTep+qsBSoTfouZeKPukk3Ow42q5OQ=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=