MSP-7572 edit go version in Dockerfiles

This commit is contained in:
nglmq committed 2026-04-22 12:36:48 +03:00
1 parent 6c3e8a632e
commit fa327ecf5c
7 files changed
+106 -39

No files matched your search

+5 -5
View File
@@ -2,13 +2,14 @@ package variable
import (
"context"
"regexp"
"strings"
"time"
"github.com/pkg/errors"
"isp-config-service/domain"
"isp-config-service/entity"
"isp-config-service/entity/xtypes"
"regexp"
"strings"
"time"
)
type Repo interface {
@@ -91,8 +92,7 @@ func (s Service) GetByName(ctx context.Context, name string) (*domain.Variable,
return nil, errors.WithMessage(err, "get meta by variables")
}
result := s.toDto(*variable, metaByVariables)
return &result, nil
return new(s.toDto(*variable, metaByVariables)), nil
}
func (s Service) Create(ctx context.Context, req domain.CreateVariableRequest) error {