mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 11:41:38 +00:00
linter
This commit is contained in:
parent
6bee6e77d9
commit
a5a51b4141
@ -62,7 +62,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
ygg.SetMulticastEnabled(true)
|
ygg.SetMulticastEnabled(true)
|
||||||
if instancePeer != nil && *instancePeer != "" {
|
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")
|
logrus.WithError(err).Error("Failed to set static peer")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user