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

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