Add relay server address for the status

This commit is contained in:
Zoltán Papp
2024-07-10 22:17:54 +02:00
parent 4e75e15ea1
commit 83b83ccfd2
7 changed files with 50 additions and 11 deletions
+4 -1
View File
@@ -163,7 +163,10 @@ func runInForegroundMode(ctx context.Context, cmd *cobra.Command) error {
ctx, cancel = context.WithCancel(ctx)
SetupCloseHandler(ctx, cancel)
connectClient := internal.NewConnectClient(ctx, config, peer.NewRecorder(config.ManagementURL.String()))
r := peer.NewRecorder(config.ManagementURL.String())
r.GetFullStatus()
connectClient := internal.NewConnectClient(ctx, config, r)
return connectClient.Run()
}