rename pre-requisites to pre-installation to align with flag description

Signed-off-by: h3nryc0ding <hr.richterhenry@gmail.com>
pull/5267/head
h3nryc0ding 7 days ago
parent 05d4611345
commit 63b52cdbb7

@ -114,11 +114,11 @@ func runCheckCmd(_ *cobra.Command, _ []string) error {
}
if !runPreChecks(ctx, cfg) {
return errors.New("pre-requisites checks failed")
return errors.New("pre-installation checks failed")
}
if checkArgs.pre {
logger.Actionf("All pre-requisites checks passed")
logger.Actionf("All pre-installation checks passed")
return nil
}
@ -175,7 +175,7 @@ func logCheckResult(res checkResult) {
}
func fluxCheck() checkResult {
res := checkResult{Title: "flux pre-requisites"}
res := checkResult{Title: "flux pre-installation"}
curSv, err := version.ParseVersion(VERSION)
if err != nil {
@ -227,7 +227,7 @@ func fluxCheck() checkResult {
}
func kubernetesCheck(cfg *rest.Config, constraints []string) checkResult {
res := checkResult{Title: "kubernetes pre-requisites"}
res := checkResult{Title: "kubernetes pre-installation"}
clientSet, err := kubernetes.NewForConfig(cfg)
if err != nil {

@ -1,5 +1,5 @@
► Checking flux pre-requisites
► Checking flux pre-installation
✔ flux 0.0.0-dev.0 is a development build
► Checking kubernetes pre-requisites
► Checking kubernetes pre-installation
✔ kubernetes {{ .serverVersion }}>=1.30.0-0
► All pre-requisites checks passed
► All pre-installation checks passed

Loading…
Cancel
Save