Skip to content

Conversation

@muvaf
Copy link
Contributor

@muvaf muvaf commented May 10, 2021

Description of changes: Name can return the name of the call with a date as we experienced in CloudFront service (like GetDistribution2020_05_31WithContext). Tested this statement with rds service and no change was seen.

I made the change in both ACK and Crossplane pipelines. It shouldn't affect the existing controllers.

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

muvaf added 3 commits May 11, 2021 02:40
Signed-off-by: Muvaffak Onus <me@muvaf.com>
…lly match the name that can be used by other packages, otherwise Name can have API date in it, like it does for CloudFront

Signed-off-by: Muvaffak Onus <me@muvaf.com>
// Hack to avoid import errors during build...
var (
_ = &metav1.Time{}
_ = &aws.JSONValue{}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You won't need the ackv1alpha1 import, yes. But just double-check you won't need this one above...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. I double checked the repo.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k, just double-checking :)

Copy link
Collaborator

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch @muvaf! Crazy this isn't really documented (or reasonablly understandle default naming...) :)

@ack-bot
Copy link
Collaborator

ack-bot commented May 11, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jaypipes, muvaf

The full list of commands accepted by this bot can be found 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

@jaypipes jaypipes merged commit d16d5ac into aws-controllers-k8s:main May 11, 2021
@muvaf muvaf deleted the cp-remove-unnecessary-imports branch May 11, 2021 00:37
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.

3 participants