Skip to content

Commit

Permalink
fix(clustertool): apply -> applyconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivatePuffin committed Nov 6, 2024
1 parent 16c0e0c commit edc6f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clustertool/pkg/gencmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ func GenApply(node string, extraFlags []string) []string {
for _, noderef := range talassist.TalConfig.Nodes {
// TODO add extraFlags
filename := talassist.TalConfig.ClusterName + "-" + noderef.Hostname + ".yaml"
cmd := talosPath + " " + "apply" + " --talosconfig " + helper.TalosConfigFile + " -n " + noderef.IPAddress + " " + "--file=" + filepath.Join(helper.TalosGenerated, filename)
cmd := talosPath + " " + "apply-config" + " --talosconfig " + helper.TalosConfigFile + " -n " + noderef.IPAddress + " " + "--file=" + filepath.Join(helper.TalosGenerated, filename)
commands = append(commands, cmd)
}
} else {
cmd := talosPath + " " + "apply" + " --talosconfig " + helper.TalosConfigFile + " -n " + node + " "
cmd := talosPath + " " + "apply-config" + " --talosconfig " + helper.TalosConfigFile + " -n " + node + " "
commands = append(commands, cmd)
}
return commands
Expand Down

0 comments on commit edc6f25

Please sign in to comment.