mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-29 11:33:48 +01:00
Fix UP cmd to pass managementURL to daemon
This commit is contained in:
parent
ef47385e38
commit
347a668bd5
@ -46,6 +46,7 @@ var upCmd = &cobra.Command{
|
|||||||
loginRequest := proto.LoginRequest{
|
loginRequest := proto.LoginRequest{
|
||||||
SetupKey: setupKey,
|
SetupKey: setupKey,
|
||||||
PresharedKey: preSharedKey,
|
PresharedKey: preSharedKey,
|
||||||
|
ManagementUrl: managementURL,
|
||||||
}
|
}
|
||||||
err = WithBackOff(func() error {
|
err = WithBackOff(func() error {
|
||||||
_, err := daemonClient.Login(ctx, &loginRequest)
|
_, err := daemonClient.Login(ctx, &loginRequest)
|
||||||
|
Loading…
Reference in New Issue
Block a user