main
Neil Alexander 2020-07-08 17:28:16 +01:00
parent 6bee6e77d9
commit a5a51b4141
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
1 changed files with 1 additions and 1 deletions

View File

@ -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")
} }
} }