summaryrefslogtreecommitdiff
path: root/finger
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-08-12 08:48:12 -0600
committertjpcc <tjp@ctrl-c.club>2023-08-12 08:48:12 -0600
commit7efdcf9277c4a7be88179cb93d309d2f1e684fe6 (patch)
tree3e477ee93101e070a8ba881ac542d81d75561bae /finger
parentbb4bbc5659a506533eb2d45f102ea394e050cee2 (diff)
text fixes
* trying again with drone-ci and OmitHost * typo in the InvalidFingerQuery error message
Diffstat (limited to 'finger')
-rw-r--r--finger/request.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/finger/request.go b/finger/request.go
index bd2d35a..fad7fee 100644
--- a/finger/request.go
+++ b/finger/request.go
@@ -14,7 +14,7 @@ import (
var ForwardingDenied = errors.New("Finger forwarding service denied.")
// InvalidFingerQuery is sent when a client doesn't properly format the query.
-var InvalidFingerQuery = errors.New("Invalid finger query .")
+var InvalidFingerQuery = errors.New("Invalid finger query.")
// ParseRequest builds a sliderule.Request by reading a finger protocol request.
//
@@ -70,7 +70,6 @@ func ParseRequest(rdr io.Reader) (*sr.Request, error) {
Scheme: "finger",
Host: hostname,
Path: "/" + username,
- OmitHost: true, //nolint:typecheck
- // (for some reason typecheck on drone-ci doesn't realize OmitHost is a field in url.URL)
+ OmitHost: true,
}}, nil
}