Skip to content

Commit

Permalink
fix(logs): fix typo in deprecation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Apr 5, 2023
1 parent 174c5d3 commit 3b2a9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/werf/common/repo_data.go
Expand Up @@ -117,7 +117,7 @@ func (d *RepoData) GetContainerRegistry(ctx context.Context) string {
return *d.ContainerRegistry
case *d.Implementation != "":
repoNameUpper := strings.ToUpper(strings.ReplaceAll(d.Name, "-", "_"))
logboek.Context(ctx).Warn().LogLn("DEPRECATION WARNING: The option --%s-implementation ($WERF_%s_IMPLEMENTATION) is renamed to --%s-container-registry ($WERF_%s_CONTAINER_REGISTRY) and will be removed in v1.3!", d.Name, repoNameUpper, d.Name, repoNameUpper)
logboek.Context(ctx).Warn().LogF("DEPRECATION WARNING: The option --%s-implementation ($WERF_%s_IMPLEMENTATION) is renamed to --%s-container-registry ($WERF_%s_CONTAINER_REGISTRY) and will be removed in v1.3!", d.Name, repoNameUpper, d.Name, repoNameUpper)
return *d.Implementation
default:
return ""
Expand Down

0 comments on commit 3b2a9b0

Please sign in to comment.