Skip to content

Commit

Permalink
Merge pull request #301 from xiaods/dev
Browse files Browse the repository at this point in the history
fix typo on nodeConfig
  • Loading branch information
xiaods authored Feb 18, 2023
2 parents 9cfca25 + a94d15e commit 6ace40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 6ace40e

Please sign in to comment.