Token listing LastUsed
value is zero value string of time.Time struct
#170
Labels
bug
Something isn't working
LastUsed
value is zero value string of time.Time struct
#170
Description
Token Listing (JSON format )
LastUsed
value is zerotime.Time
value string.Steps to reproduce the issue:
hub-tool
Describe the results you received:
Describe the results you expected:
LastUsed
value in JSON format should be empty string if token is not used for authentication instead of zero value oftime.Time{}
. IMO empty string value forLastUsed
in JSON would be easier way for programmatic validation for last used token value.Additional information you deem important (e.g. issue happens only occasionally):
Happens always
Output of
hub-tool --version
:Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: