From a94d15eca4fecb30bc470820f030861a622e5e64 Mon Sep 17 00:00:00 2001 From: Deshi Xiao Date: Sat, 18 Feb 2023 15:10:24 +0800 Subject: [PATCH] fix typo on nodeConfig Signed-off-by: Deshi Xiao --- pkg/agent/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/run.go b/pkg/agent/run.go index 75f9e5dd..6108d8fe 100644 --- a/pkg/agent/run.go +++ b/pkg/agent/run.go @@ -126,7 +126,7 @@ func run(ctx context.Context, cfg cmds.Agent, proxy proxy.Proxy) error { return err } - if err := configureNode(ctx, &nodeConfig.AgentConfig, coreClient.CoreV1().Nodes()); err != nil { + if err := configureNode(ctx, nodeConfig, coreClient.CoreV1().Nodes()); err != nil { return err }