Fix port parsing

Fixes #243
This commit is contained in:
Owen
2026-02-25 11:52:15 -08:00
parent 1a3eaedfa5
commit 514c94519e

View File

@@ -116,6 +116,7 @@ var (
logLevel string logLevel string
interfaceName string interfaceName string
port uint16 port uint16
portStr string
disableClients bool disableClients bool
updownScript string updownScript string
dockerSocket string dockerSocket string
@@ -210,7 +211,7 @@ func runNewtMain(ctx context.Context) {
logLevel = os.Getenv("LOG_LEVEL") logLevel = os.Getenv("LOG_LEVEL")
updownScript = os.Getenv("UPDOWN_SCRIPT") updownScript = os.Getenv("UPDOWN_SCRIPT")
interfaceName = os.Getenv("INTERFACE") interfaceName = os.Getenv("INTERFACE")
portStr := os.Getenv("PORT") portStr = os.Getenv("PORT")
authDaemonKey = os.Getenv("AD_KEY") authDaemonKey = os.Getenv("AD_KEY")
authDaemonPrincipalsFile = os.Getenv("AD_PRINCIPALS_FILE") authDaemonPrincipalsFile = os.Getenv("AD_PRINCIPALS_FILE")
authDaemonCACertPath = os.Getenv("AD_CA_CERT_PATH") authDaemonCACertPath = os.Getenv("AD_CA_CERT_PATH")