Skip to content

Commit bab89d4

Browse files
committed
Remove unused error
1 parent 12e7cd9 commit bab89d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/indexer/req.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func (ind Indexer) makeAbsURL(targetURL string) (pURL *url.URL, err error) {
1414
ind.Lg.IfErrError("can not parse url", logseal.F{"error": err})
1515
if !pURL.IsAbs() {
1616
var fullURL string
17-
fullURL, err = url.JoinPath(ind.Conf.ServerURL, targetURL)
17+
fullURL, _ = url.JoinPath(ind.Conf.ServerURL, targetURL)
1818
pURL, err = ind.makeAbsURL(fullURL)
1919
}
2020
return

0 commit comments

Comments
 (0)