summaryrefslogtreecommitdiff
path: root/finger/request.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-08-12 10:48:08 -0600
committertjpcc <tjp@ctrl-c.club>2023-08-12 10:49:44 -0600
commit39ab058ea779763b83e05812cd222e2cbef90eab (patch)
treecf618e8718fb58c6a212ff29a39e8be3667d0576 /finger/request.go
parent7d3cbefde656d5520067d56eeb44a8ba1f39d672 (diff)
Revert "text fixes"
This reverts commit 7efdcf9277c4a7be88179cb93d309d2f1e684fe6. except the error text fix, keep that.
Diffstat (limited to 'finger/request.go')
-rw-r--r--finger/request.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/finger/request.go b/finger/request.go
index b0ef102..5eae6b6 100644
--- a/finger/request.go
+++ b/finger/request.go
@@ -70,6 +70,7 @@ func ParseRequest(rdr io.Reader) (*types.Request, error) {
Scheme: "finger",
Host: hostname,
Path: "/" + username,
- OmitHost: true,
+ OmitHost: true, //nolint:typecheck
+ // (for some reason typecheck on drone-ci doesn't realize OmitHost is a field in url.URL)
}}, nil
}