From 077b6072fadc91ba7f44bdcd7624d940a98c2178 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Tue, 3 Sep 2024 09:06:50 +0800 Subject: [PATCH] chore: coding style (#4352) --- internal/devserver/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/devserver/server.go b/internal/devserver/server.go index 069612b1f358..b544618279fc 100644 --- a/internal/devserver/server.go +++ b/internal/devserver/server.go @@ -80,6 +80,7 @@ func StartAgent(c Config) { if !c.Enabled { return } + once.Do(func() { s := NewServer(c) s.StartAsync(c)