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

pull: Update key loading function to match error style #2058

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

cgwalters
Copy link
Member

This code wasn't written with idiomatic GError usage; it's not standard
to construct an error up front and continually append to its
message. The exit from a function is usually return TRUE,
with error conditions before that.

Updating it to match style reveals what I think is a bug;
we were silently ignoring failure to parse key files.

This code wasn't written with idiomatic GError usage; it's not standard
to construct an error up front and continually append to its
message.  The exit from a function is usually `return TRUE`,
with error conditions before that.

Updating it to match style reveals what I think is a bug;
we were silently ignoring failure to parse key files.
@d4s
Copy link
Member

d4s commented Apr 6, 2020

/lgtm

@openshift-ci-robot
Copy link
Collaborator

@d4s: changing LGTM is restricted to collaborators

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link
Collaborator

@d4s: GitHub didn't allow me to request PR reviews from the following users: cgwalters.

Note that only ostreedev members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @cgwalters

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@cgwalters
Copy link
Member Author

@d4s: changing LGTM is restricted to collaborators

Hm, right. Are you willing to sign up to do some ongoing code review in general? I am happy to invite you to the organization.

@d4s
Copy link
Member

d4s commented Apr 7, 2020

@d4s: changing LGTM is restricted to collaborators
Hm, right. Are you willing to sign up to do some ongoing code review in general? I am happy to invite you to the organization.

Thank you! I'll be happy to became a part of the team.
Especially keeping in mind that there are a lot of follow up work after integration of #1878 ;)

@cgwalters
Copy link
Member Author

@d4s want to retry a /lgtm here?

@d4s
Copy link
Member

d4s commented Apr 7, 2020

/lgtm

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, d4s

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 8baee5c into ostreedev:master Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants