From 8d0651489bfd2f88a4ad8298dace409046d2fbdc Mon Sep 17 00:00:00 2001 From: "taekyu.kang" Date: Fri, 6 Sep 2024 17:14:40 +0900 Subject: [PATCH] trivial. change deliminator for domains --- internal/usecase/stack.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/usecase/stack.go b/internal/usecase/stack.go index e4f22eb5..130a62f7 100644 --- a/internal/usecase/stack.go +++ b/internal/usecase/stack.go @@ -135,7 +135,7 @@ func (u *StackUsecase) Create(ctx context.Context, dto model.Stack) (stackId dom domains := make([]string, len(dto.Domains)) for i, domain := range dto.Domains { - domains[i] = domain.DomainType + "_" + domain.Url + domains[i] = domain.DomainType + "|" + domain.Url } workflow := "tks-stack-create" @@ -319,7 +319,7 @@ func (u *StackUsecase) Import(ctx context.Context, dto model.Stack) (stackId dom domains := make([]string, len(dto.Domains)) for i, domain := range dto.Domains { - domains[i] = domain.DomainType + "_" + domain.Url + domains[i] = domain.DomainType + "|" + domain.Url } workflow := "tks-stack-import"