-
Notifications
You must be signed in to change notification settings - Fork 24
Initialise spec.Code
before setting the imageURI
#55
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
Conversation
/hold |
Fixes aws-controllers-k8s/community#1480 The runtime panics observed in issue 1480 were mainly caused by the `sdk_read_one` hook we use for `Function` resource. The hook didn't correctly initialise `spec.Code`. This patch fixes the initalisation to avoid nil pointer panics when adopting function resources
b5984d8
to
682bfe2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: A-Hilaly, jaypipes 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 |
/unhold |
…8s#55) Fixes aws-controllers-k8s/community#1480 The runtime panics observed in issue 1480 were mainly caused by the `sdk_read_one` hook we use for `Function` resource. The hook didn't correctly initialise `spec.Code`. This patch fixes the initialization to avoid nil pointer panics when adopting function resources By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
…llers-k8s#55) ### Update to ACK runtime `v0.23.0`, code-generator `v0.23.1` ---------- * ACK code-generator `v0.23.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.23.1) * ACK runtime `v0.23.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.23.0) ---------- NOTE: This PR increments the release version of service controller from `v0.0.24` to `v0.0.25` Once this PR is merged, release `v0.0.25` will be automatically created for `mq-controller` **Please close this PR, if you do not want the new patch release for `mq-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. installing controller-gen v0.9.2 ... ok. ==== building mq-controller ==== Copying common custom resource definitions into mq Building Kubernetes API objects for mq Generating deepcopy code for mq Generating custom resource definitions for mq Building service controller for mq Generating RBAC manifests for mq Running gofmt against generated code for mq Updating additional GitHub repository maintenance files ==== building mq-controller release artifacts ==== Building release artifacts for mq-v0.0.25 Generating common custom resource definitions Generating custom resource definitions for mq Generating RBAC manifests for mq ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Fixes aws-controllers-k8s/community#1480
The runtime panics observed in issue 1480 were mainly caused by the
sdk_read_one
hook we use forFunction
resource. The hook didn'tcorrectly initialise
spec.Code
.This patch fixes the initialization to avoid nil pointer panics when
adopting function resources
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.