chore: rename [ci skip]
This commit is contained in:
parent
c0931b96d8
commit
48198d55bd
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user