From 4611293a2e8309fde5e517c3d458e55f5e22e320 Mon Sep 17 00:00:00 2001 From: adminer Date: Thu, 16 Jul 2026 08:46:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20internal/endpoint/endpoint.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/endpoint/endpoint.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/endpoint/endpoint.go b/internal/endpoint/endpoint.go index f778015..f0ae201 100644 --- a/internal/endpoint/endpoint.go +++ b/internal/endpoint/endpoint.go @@ -596,11 +596,7 @@ func clientRoot(rootFS *zfs.DatasetPath, clientIdentity string) (*zfs.DatasetPat } func (s *Receiver) clientRootFromCtx(ctx context.Context) *zfs.DatasetPath { - if !s.conf.AppendClientIdentity { - return s.conf.RootWithoutClientComponent.Copy() - } - - // Патч: всегда возвращаем только root_fs без client_identity + // Патч: Игнорируем AppendClientIdentity и всегда возвращаем чистый root_fs return s.conf.RootWithoutClientComponent.Copy() }