mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 08:11:55 -06: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 a new issue