Skip to content

Commit

Permalink
fix: agent-node-files by append agentNode.HookActions (#1537)
Browse files Browse the repository at this point in the history
Signed-off-by: sam <huapox@126.com>
  • Loading branch information
huapox authored Jan 17, 2025
1 parent c481f0c commit 32f80da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ func ClusterStart(ctx context.Context, runtime k3drt.Runtime, cluster *k3d.Clust
agentWG.Go(func() error {
return NodeStart(aCtx, runtime, currentAgentNode, &k3d.NodeStartOpts{
Wait: true,
NodeHooks: clusterStartOpts.NodeHooks,
NodeHooks: append(clusterStartOpts.NodeHooks, agentNode.HookActions...),
EnvironmentInfo: clusterStartOpts.EnvironmentInfo,
})
})
Expand Down

0 comments on commit 32f80da

Please sign in to comment.