Обновить internal/endpoint/endpoint.go
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user