mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
linter
This commit is contained in:
parent
6bee6e77d9
commit
a5a51b4141
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue