Skip to content

Conversation

jaypipes
Copy link
Collaborator

Updates the generated code that defers a call to exit(err) for the
resource logger to wrap the defer in a temporary functor that then calls
exit(err).

See aws-controllers-k8s/runtime#93 for
explanation.

Signed-off-by: Jay Pipes [email protected]

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Updates the generated code that defers a call to `exit(err)` for the
resource logger to wrap the defer in a temporary functor that then calls
`exit(err)`.

See aws-controllers-k8s/runtime#93 for
explanation.

Signed-off-by: Jay Pipes <[email protected]>
@ack-bot ack-bot requested review from a-hilaly and vijtrip2 June 15, 2022 18:57
@jaypipes jaypipes requested a review from RedbackThomson June 15, 2022 18:58
@brucegucode
Copy link
Contributor

/lgtm

@ack-bot
Copy link
Collaborator

ack-bot commented Jun 15, 2022

@brucegucode: 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.

@RedbackThomson
Copy link
Contributor

/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 15, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Jun 15, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brucegucode, jaypipes, RedbackThomson, vijtrip2

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:
  • OWNERS [RedbackThomson,jaypipes,vijtrip2]

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

@ack-bot ack-bot merged commit 23941cc into aws-controllers-k8s:main Jun 15, 2022
RedbackThomson pushed a commit to RedbackThomson/ack-code-generator that referenced this pull request Jun 21, 2022
Updates the generated code that defers a call to `exit(err)` for the
resource logger to wrap the defer in a temporary functor that then calls
`exit(err)`.

See aws-controllers-k8s/runtime#93 for
explanation.

Signed-off-by: Jay Pipes <[email protected]>

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants