From 48198d55bdbf61578c7248cd922bfe7757ab5b90 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 2 Jan 2025 11:31:15 +0100 Subject: [PATCH] chore: rename [ci skip] --- pkg/recipe/git.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/recipe/git.go b/pkg/recipe/git.go index d45ebe4a..77479477 100644 --- a/pkg/recipe/git.go +++ b/pkg/recipe/git.go @@ -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 {