fix tests

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

@ -114,11 +114,11 @@ func runCheckCmd(_ *cobra.Command, _ []string) error {
} }
if !runPreChecks(ctx, cfg) { if !runPreChecks(ctx, cfg) {
return errors.New("pre-installation checks failed") return errors.New("pre-requisites checks failed")
} }
if checkArgs.pre { if checkArgs.pre {
logger.Actionf("All pre-installation checks passed") logger.Actionf("All pre-requisites checks passed")
return nil return nil
} }

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

Loading…
Cancel
Save