mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-21 02:08:40 +02:00
Fix UP cmd to pass managementURL to daemon
This commit is contained in:
parent
ef47385e38
commit
347a668bd5
@ -44,8 +44,9 @@ var upCmd = &cobra.Command{
|
|||||||
daemonClient := proto.NewDaemonServiceClient(conn)
|
daemonClient := proto.NewDaemonServiceClient(conn)
|
||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user