Fix bug in yggdrasilctl where -endpoint gets ignored

This commit is contained in:
Neil Alexander 2018-12-15 11:48:43 +00:00
parent 06f58e5168
commit 98a544fd7d
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -87,6 +87,7 @@ func main() {
logger.Println("Falling back to platform default", defaults.GetDefaults().DefaultAdminListen) logger.Println("Falling back to platform default", defaults.GetDefaults().DefaultAdminListen)
} }
} else { } else {
endpoint = *server
logger.Println("Using endpoint", endpoint, "from command line") logger.Println("Using endpoint", endpoint, "from command line")
} }