mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-09 22:42:58 +00:00
linter
This commit is contained in:
parent
6bee6e77d9
commit
a5a51b4141
@ -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")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user