chore: rename [ci skip]

This commit is contained in:
decentral1se 2025-01-02 11:31:15 +01:00
parent c0931b96d8
commit 48198d55bd
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -14,9 +14,9 @@ import (
)
type EnsureContext struct {
Chaos bool
Offline bool
IgnoreEnv bool
Chaos bool
Offline bool
IgnoreEnvVersion bool
}
// Ensure makes sure the recipe exists, is up to date and has the specific
@ -40,7 +40,7 @@ func (r Recipe) Ensure(ctx EnsureContext) error {
}
}
if r.EnvVersion != "" && !ctx.IgnoreEnv {
if r.EnvVersion != "" && !ctx.IgnoreEnvVersion {
log.Debugf("ensuring env version %s", r.EnvVersion)
if _, err := r.EnsureVersion(r.EnvVersion); err != nil {