From 2d53b528b1de5a851c17bf852fba4202fcf2677f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blaisot?= Date: Thu, 12 Oct 2023 15:21:33 +0200 Subject: [PATCH] Show memberID in sharings check reports --- model/sharing/sharing.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/model/sharing/sharing.go b/model/sharing/sharing.go index 3842892442d..6bbb16e5509 100644 --- a/model/sharing/sharing.go +++ b/model/sharing/sharing.go @@ -1568,6 +1568,7 @@ func (s *Sharing) checkSharingTreesConsistency(inst *instance.Instance, ownerDoc "member": m.Domain, "ownerDoc": ownerDoc, "memberRev": memberDoc.Rev(), + "memberID": memberDoc.ID(), }) } } else { @@ -1581,6 +1582,8 @@ func (s *Sharing) checkSharingTreesConsistency(inst *instance.Instance, ownerDoc "member": m.Domain, "ownerDoc": ownerDoc, "memberName": memberDoc.M["name"], + "memberRev": memberDoc.Rev(), + "memberID": memberDoc.ID(), }) } @@ -1591,6 +1594,8 @@ func (s *Sharing) checkSharingTreesConsistency(inst *instance.Instance, ownerDoc "member": m.Domain, "ownerDoc": ownerDoc, "memberChecksum": memberDoc.M["checksum"], + "memberRev": memberDoc.Rev(), + "memberID": memberDoc.ID(), }) } @@ -1613,6 +1618,8 @@ func (s *Sharing) checkSharingTreesConsistency(inst *instance.Instance, ownerDoc "member": m.Domain, "ownerDoc": ownerDoc, "memberParent": memberDirID, + "memberRev": memberDoc.Rev(), + "memberID": memberDoc.ID(), }) } }