diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-07-08 17:28:16 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-07-08 17:28:16 +0100 |
commit | a5a51b41416e9b1d8084dbc759dff735133817fa (patch) | |
tree | b872f383b6ea411c1bed25b3ef0619170dcf0dbe /cmd/dendrite-demo-yggdrasil | |
parent | 6bee6e77d97ff1413bccc759385a68a90421ac8c (diff) |
linter
Diffstat (limited to 'cmd/dendrite-demo-yggdrasil')
-rw-r--r-- | cmd/dendrite-demo-yggdrasil/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-yggdrasil/main.go b/cmd/dendrite-demo-yggdrasil/main.go index 84e2dbd0..65747756 100644 --- a/cmd/dendrite-demo-yggdrasil/main.go +++ b/cmd/dendrite-demo-yggdrasil/main.go @@ -62,7 +62,7 @@ func main() { } ygg.SetMulticastEnabled(true) if instancePeer != nil && *instancePeer != "" { - if err := ygg.SetStaticPeer(*instancePeer); err != nil { + if err = ygg.SetStaticPeer(*instancePeer); err != nil { logrus.WithError(err).Error("Failed to set static peer") } } |