From 67682e3d656c1f577fd5dc520ea98484244c7027 Mon Sep 17 00:00:00 2001 From: Nikitin Aleksandr Date: Tue, 23 Jan 2024 17:23:21 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20mutex=5F?= =?UTF-8?q?GetVersionModel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pkg/network/grpc/grpc_client/grpc_client_table.go_ | 4 ++-- .../pkg/network/nrpc/nrpc_client/nrpc_client_table.go_ | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/templates/pkg/network/grpc/grpc_client/grpc_client_table.go_ b/bin/templates/pkg/network/grpc/grpc_client/grpc_client_table.go_ index c9bf71c..b0099c0 100644 --- a/bin/templates/pkg/network/grpc/grpc_client/grpc_client_table.go_ +++ b/bin/templates/pkg/network/grpc/grpc_client/grpc_client_table.go_ @@ -46,11 +46,11 @@ func (crud Crud_GRPC) Read(m *lawsuit_status_types.LawsuitStatusType) error { } // подготовка запроса - var VersionModel = crud.GetVersionModel() + var versionModel = crud.GetVersionModel() Request := &grpc_proto.RequestId{} Request.ID = int64(m.ID) - Request.VersionModel = VersionModel + Request.VersionModel = versionModel ctxMain := context.Background() ctx, ctxCancelFunc := context.WithTimeout(ctxMain, time.Second*time.Duration(constants.TIMEOUT_SECONDS)) diff --git a/bin/templates/pkg/network/nrpc/nrpc_client/nrpc_client_table.go_ b/bin/templates/pkg/network/nrpc/nrpc_client/nrpc_client_table.go_ index c1041b1..5f640a6 100644 --- a/bin/templates/pkg/network/nrpc/nrpc_client/nrpc_client_table.go_ +++ b/bin/templates/pkg/network/nrpc/nrpc_client/nrpc_client_table.go_ @@ -44,11 +44,11 @@ func (crud Crud_NRPC) Read(m *lawsuit_status_types.LawsuitStatusType) error { } // подготовка запроса - var VersionModel = crud.GetVersionModel() + var versionModel = crud.GetVersionModel() Request := &grpc_proto.RequestId{} Request.ID = int64(m.ID) - Request.VersionModel = VersionModel + Request.VersionModel = versionModel // запрос Response, err := nrpc_client.Client.LawsuitStatusType_Read(Request)