mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-06-28 04:46:08 +08:00
fix(clustertool): correct machineconfig apply command
This commit is contained in:
@@ -3,9 +3,7 @@ package cmd
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/public/clustertool/pkg/talassist"
|
||||
)
|
||||
@@ -25,8 +23,7 @@ var testcmd = &cobra.Command{
|
||||
// if err != nil {
|
||||
// log.Info().Msg("Error:", err)
|
||||
// }
|
||||
cmds := gencmd.GenApply("", []string{})
|
||||
log.Info().Msgf("%s", cmds[0])
|
||||
RunApply(false, "", []string{})
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user