aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-07-08 17:28:16 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-07-08 17:28:16 +0100
commita5a51b41416e9b1d8084dbc759dff735133817fa (patch)
treeb872f383b6ea411c1bed25b3ef0619170dcf0dbe /cmd
parent6bee6e77d97ff1413bccc759385a68a90421ac8c (diff)
linter
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dendrite-demo-yggdrasil/main.go2
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")
}
}