net/tshttpproxy: fix typo

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
bradfitz/netstack_fwd_close
Brad Fitzpatrick 3 years ago committed by Brad Fitzpatrick
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…
Cancel
Save