Merge pull request #253 from neilalexander/yggdrasilctl

Fix bug in yggdrasilctl where -endpoint gets ignored
This commit is contained in:
Neil Alexander 2018-12-15 11:48:00 +00:00 committed by GitHub
commit fe30ec9a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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