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

Make the loginfo command a bit more future/backwards proof. #718

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

dlorenc
Copy link
Member

@dlorenc dlorenc commented Mar 8, 2022

The logid field comes back as nil (which is expected), but we break trying
to dereference that for formatting.

Looks like this was introduced in #671

Signed-off-by: Dan Lorenc [email protected]

Summary

Ticket Link

Fixes

Release Note


@dlorenc dlorenc requested a review from a team as a code owner March 8, 2022 18:49
The logid field comes back as nil (which is expected), but we break trying
to dereference that for formatting.

Signed-off-by: Dan Lorenc <[email protected]>
@bobcallaway
Copy link
Member

LGTM - just FYI there is a helper library in a dep we have that already implements these sorts of patterns:

https://github.com/go-openapi/swag

@dlorenc
Copy link
Member Author

dlorenc commented Mar 8, 2022

LGTM - just FYI there is a helper library in a dep we have that already implements these sorts of patterns:

I couldn't find anything there that went this direction - it's really useful though for going from string to *string and stuff though.

@dlorenc dlorenc merged commit 5e5aa9b into sigstore:main Mar 8, 2022
@github-actions github-actions bot added this to the v1.0.0 milestone Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants