diff --git a/pkg/services/object/acl/eacl/v2/headers.go b/pkg/services/object/acl/eacl/v2/headers.go index 43c57b300c..7307b301ef 100644 --- a/pkg/services/object/acl/eacl/v2/headers.go +++ b/pkg/services/object/acl/eacl/v2/headers.go @@ -143,9 +143,6 @@ func (h *cfg) objectHeaders() ([]eaclSDK.Header, error) { } case responseXHeaderSource: switch resp := m.resp.(type) { - default: - hs, _ := h.localObjectHeaders(h.cnr, h.obj) - return hs, nil case *objectV2.GetResponse: if v, ok := resp.GetBody().GetObjectPart().(*objectV2.GetObjectPartInit); ok { oV2 := new(objectV2.Object)