mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
7928305279
This is mainly to avoid having the API return "0001-01-01T00:00:00Z" as a value for the ExpirationTime field when it is not set. Unfortunately time.Time doesn't respect the json marshalling "omitempty" directive.