mirror of https://github.com/tailscale/tailscale/
all: specify explicit JSON format for time.Duration (#17307)
The default representation of time.Duration has different JSON representation between v1 and v2. Apply an explicit format flag that uses the v1 representation so that this behavior does not change if serialized with v2. Updates tailscale/corp#791 Signed-off-by: Joe Tsai <joetsai@digital-static.net>pull/17395/merge
parent
8e98ecb5f7
commit
a2dc517d7d
Loading…
Reference in New Issue