From ebaf976f26f695b6dbe588d93957966e197a3848 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Tue, 4 Jul 2023 18:52:29 +0200 Subject: [PATCH] tigher inner loop --- endpoint/endpoint.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoint/endpoint.go b/endpoint/endpoint.go index e2724af9..7487d38d 100644 --- a/endpoint/endpoint.go +++ b/endpoint/endpoint.go @@ -275,8 +275,8 @@ func (s *Sender) Send(ctx context.Context, r *pdu.SendReq) (*pdu.SendRes, io.Rea if sendArgs.FromVersion != nil { checkFullpaths["FromVersion"] = sendArgs.FromVersion.FullPath(sendArgs.FS) } - for what, fullpath := range checkFullpaths { - for _, a := range obsoleteAbs { + for _, a := range obsoleteAbs { + for what, fullpath := range checkFullpaths { if a.GetFullPath() == fullpath && a.GetType().IsSnapshotOrBookmark() { problems = append(problems, Problem{ sendArgsWhat: what,