mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
fix tests
Signed-off-by: h3nryc0ding <hr.richterhenry@gmail.com>
This commit is contained in:
parent
cfcd1cd439
commit
05d4611345
2 changed files with 7 additions and 5 deletions
|
|
@ -114,11 +114,11 @@ func runCheckCmd(_ *cobra.Command, _ []string) error {
|
|||
}
|
||||
|
||||
if !runPreChecks(ctx, cfg) {
|
||||
return errors.New("pre-installation checks failed")
|
||||
return errors.New("pre-requisites checks failed")
|
||||
}
|
||||
|
||||
if checkArgs.pre {
|
||||
logger.Actionf("All pre-installation checks passed")
|
||||
logger.Actionf("All pre-requisites checks passed")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
8
cmd/flux/testdata/check/check_pre.golden
vendored
8
cmd/flux/testdata/check/check_pre.golden
vendored
|
|
@ -1,3 +1,5 @@
|
|||
► checking prerequisites
|
||||
✔ Kubernetes {{ .serverVersion }} >=1.30.0-0
|
||||
✔ prerequisites checks passed
|
||||
► Checking flux pre-requisites
|
||||
✔ flux 0.0.0-dev.0 is a development build
|
||||
► Checking kubernetes pre-requisites
|
||||
✔ kubernetes {{ .serverVersion }}>=1.30.0-0
|
||||
► All pre-requisites checks passed
|
||||
|
|
|
|||
Loading…
Reference in a new issue