mirror of https://github.com/tailscale/tailscale/
logpolicy: add NewWithConfigPath (#5625)
The version.CmdName implementation is buggy such that it does not correctly identify the binary name if it embeds other go binaries. For now, add a NewWithConfigPath API that allows the caller to explicitly specify this information. Signed-off-by: Joe Tsai <joetsai@digital-static.net>pull/5629/head
parent
45a3de14a6
commit
aa0064db4d
Loading…
Reference in New Issue