From 67362122a8adf51771c8db57a6f470dd9b7cc4b5 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 22 Nov 2024 14:43:34 +0100 Subject: [PATCH] fix: added a correct repository name --- internal/pkg/service/templates/api/config/repositories.go | 6 +++--- internal/pkg/template/repository/components.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/pkg/service/templates/api/config/repositories.go b/internal/pkg/service/templates/api/config/repositories.go index 4e3779c1a8..bd70cf1b1f 100644 --- a/internal/pkg/service/templates/api/config/repositories.go +++ b/internal/pkg/service/templates/api/config/repositories.go @@ -28,7 +28,7 @@ func DefaultRepositories() Repositories { }, { Type: model.RepositoryTypeGit, - Name: repository.DefaultTemplateRepositoryName, + Name: repository.DefaultTemplateRepositoryNameDev, URL: repository.DefaultTemplateRepositoryURL, Ref: repository.DefaultTemplateRepositoryRefDev, }, @@ -40,9 +40,9 @@ func DefaultRepositories() Repositories { }, { Type: model.RepositoryTypeGit, - Name: repository.ComponentsTemplateRepositoryNameDev, + Name: repository.ComponentsTemplateRepositoryName, URL: repository.ComponentsTemplateRepositoryURL, - Ref: repository.DefaultTemplateRepositoryRefDev, + Ref: repository.DefaultTemplateRepositoryRefBeta, }, } } diff --git a/internal/pkg/template/repository/components.go b/internal/pkg/template/repository/components.go index 1af694d951..44fe95dd8b 100644 --- a/internal/pkg/template/repository/components.go +++ b/internal/pkg/template/repository/components.go @@ -5,8 +5,8 @@ import ( ) const ( - ComponentsTemplateRepositoryName = "keboola-components" - ComponentsTemplateRepositoryNameDev = "keboola-components-dev" + ComponentsTemplateRepositoryName = "keboola-components" + ComponentsTemplateRepositoryNameBeta = "keboola-components-beta" ComponentsTemplateRepositoryURL = "https://github.com/keboola/keboola-as-code-templates-components.git"