From 3b2a9b0c99555d03db05abb4d28f93a70199e04c Mon Sep 17 00:00:00 2001 From: Timofey Kirillov Date: Wed, 5 Apr 2023 18:54:04 +0300 Subject: [PATCH] fix(logs): fix typo in deprecation warning Signed-off-by: Timofey Kirillov --- cmd/werf/common/repo_data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/werf/common/repo_data.go b/cmd/werf/common/repo_data.go index 865d671e92..9cc15f30d3 100644 --- a/cmd/werf/common/repo_data.go +++ b/cmd/werf/common/repo_data.go @@ -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 ""