Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(SUP-3016) Ensure valid json formatting #64

Merged
merged 1 commit into from
May 5, 2022
Merged

(SUP-3016) Ensure valid json formatting #64

merged 1 commit into from
May 5, 2022

Conversation

m0dular
Copy link

@m0dular m0dular commented May 5, 2022

Prior to this commit, the addition of the expiration date made the
output invalid json because it was unquoted. This commit changes the
output format to consist of key/value pairs for each cert, e.g.

{
"valid": [
{
"console-cert.pem": "Jan 14 19:55:34 2024 GMT"
}
],
"expired": [

]
}

Prior to this commit, the addition of the expiration date made the
output invalid json because it was unquoted.  This commit changes the
output format to consist of key/value pairs for each cert, e.g.

{
  "valid": [
    {
      "console-cert.pem": "Jan 14 19:55:34 2024 GMT"
    }
  ],
  "expired": [

  ]
}
@m0dular m0dular requested a review from a team as a code owner May 5, 2022 17:33
@MartyEwings MartyEwings merged commit 065ef1c into puppetlabs:main May 5, 2022
@MartyEwings MartyEwings added the enhancement New feature or request label Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants