Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: tone down --loose-giterminism warning
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Oct 13, 2023
1 parent 0d2a86b commit 938a9ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/giterminism_manager/manager.go
Expand Up @@ -27,8 +27,7 @@ func NewManager(ctx context.Context, projectDir string, localGitRepo *git_repo.L
}

if options.LooseGiterminism {
err := errors.NewError(`DEPRECATION WARNING: The --loose-giterminism option (and WERF_LOOSE_GITERMINISM env variable) is forbidden and will be removed in v1.2!
Please use werf-giterminism.yaml config instead to loosen giterminism restrictions if needed.`)
err := errors.NewError(`We recommend using werf-giterminism.yaml to loosen giterminism instead of using --loose-giterminism/WERF_LOOSE_GITERMINISM`)
logboek.Context(ctx).Warn().LogLn(err)
}

Expand Down

0 comments on commit 938a9ab

Please sign in to comment.