mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-12 05:37:32 +00:00
version: unexport all vars, turn Short/Long into funcs
The other formerly exported values aren't used outside the package, so just unexport them. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:

committed by
Dave Anderson

parent
9e6b4d7ad8
commit
8b2ae47c31
@@ -413,7 +413,7 @@ func (f *forwarder) sendDoH(ctx context.Context, urlBase string, c *http.Client,
|
||||
}
|
||||
req.Header.Set("Content-Type", dohType)
|
||||
req.Header.Set("Accept", dohType)
|
||||
req.Header.Set("User-Agent", "tailscaled/"+version.Long)
|
||||
req.Header.Set("User-Agent", "tailscaled/"+version.Long())
|
||||
|
||||
hres, err := c.Do(req)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user