Fix UP cmd to pass managementURL to daemon

This commit is contained in:
braginini 2022-03-08 16:10:44 +01:00
parent ef47385e38
commit 347a668bd5

View File

@ -44,8 +44,9 @@ var upCmd = &cobra.Command{
daemonClient := proto.NewDaemonServiceClient(conn)
loginRequest := proto.LoginRequest{
SetupKey: setupKey,
PresharedKey: preSharedKey,
SetupKey: setupKey,
PresharedKey: preSharedKey,
ManagementUrl: managementURL,
}
err = WithBackOff(func() error {
_, err := daemonClient.Login(ctx, &loginRequest)