Skip to content

Commit

Permalink
tigher inner loop
Browse files Browse the repository at this point in the history
  • Loading branch information
problame committed Jul 4, 2023
1 parent 9a98d71 commit ebaf976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions endpoint/endpoint.go
Expand Up @@ -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,
Expand Down

0 comments on commit ebaf976

Please sign in to comment.