mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
net/tshttpproxy: fix typo
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
50eb8c5add
commit
c6c752cf64
@ -121,7 +121,7 @@ func parseSynologyConfig(r io.Reader) (*url.URL, error) {
|
|||||||
return proxyURL, nil
|
return proxyURL, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// mtime stat's path and returns it's modification time. If path does not exist,
|
// mtime stat's path and returns its modification time. If path does not exist,
|
||||||
// it returns the unix epoch.
|
// it returns the unix epoch.
|
||||||
func mtime(path string) time.Time {
|
func mtime(path string) time.Time {
|
||||||
fi, err := os.Stat(path)
|
fi, err := os.Stat(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user