Skip to content

Commit

Permalink
deleted code that should not exist.
Browse files Browse the repository at this point in the history
Signed-off-by: quobix <[email protected]>
  • Loading branch information
daveshanley committed Feb 1, 2024
1 parent 77fb382 commit 72c997f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions index/rolodex.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,21 +494,6 @@ func (r *Rolodex) Open(location string) (RolodexFile, error) {
}
}

if localFile == nil {

// if there was no file found locally, then search the remote FS.
for _, v := range r.remoteFS {
f, err := v.Open(location)
if err != nil {
errorStack = append(errorStack, err)
continue
}
if f != nil {
return f.(*RemoteFile), nil
}
}
}

} else {

if !r.indexConfig.AllowRemoteLookup {
Expand Down

0 comments on commit 72c997f

Please sign in to comment.