From 45aee475202f6bf4bbd7dffcfa8e472e3f8fd67d Mon Sep 17 00:00:00 2001 From: StephanHCB Date: Tue, 17 Oct 2023 14:00:56 +0200 Subject: [PATCH] feat(#214): allow operation type LIBRARY --- internal/service/services/services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/services/services.go b/internal/service/services/services.go index e400711..d20de7e 100644 --- a/internal/service/services/services.go +++ b/internal/service/services/services.go @@ -528,7 +528,7 @@ func (s *Impl) validRepoKey(ctx context.Context, candidate string, serviceName s return errors.New("repository key must have acceptable name and type combination (allowed types: api implementation helm-deployment), and for helm-deployment the name must match the service name") } -var validOperationTypesForService = []string{"WORKLOAD", "PLATFORM", "APPLICATION"} +var validOperationTypesForService = []string{"WORKLOAD", "PLATFORM", "APPLICATION", "LIBRARY"} func validOperationType(candidate *string) bool { if candidate == nil {