fix(agent): forgor argument
ci-agent / build (push) Failing after 1m22s

This commit is contained in:
2026-04-04 05:22:51 +03:00
parent 10d899b50f
commit 24cc11bc8d
+1 -1
View File
@@ -58,7 +58,7 @@ func main() {
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
defer cancel() defer cancel()
cmdexe := new(commander.CommandExecutor) cmdexe := new(commander.CommandExecutor)
ccli := client.New(cmdexe, cfg.RegistrationToken) ccli := client.New(cmdexe, cfg.RegistrationToken, cfg.Label)
return ccli.HandleCommands(ctx, cfg.BackendURL, creds) return ccli.HandleCommands(ctx, cfg.BackendURL, creds)
}() }()
if err != nil { if err != nil {