-
Notifications
You must be signed in to change notification settings - Fork 19
Use lowercase APIMapping #346
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
Use lowercase APIMapping #346
Conversation
/hold for scruntiny |
return err | ||
} | ||
|
||
cmd.Println(string(out)) |
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.
Why this changed?
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.
It was adding a newline where one already existed.
Let me create a Jira ticket to add a unit test for 'generate'. |
I'm hesitant to change the mapping file format, because I feel like it did work at some point? I remember manually "hacking" in some simple fake kind at some point, and I think Matt did something similar... The lack of a test makes it hard to tell if/when things broke. But this is still a small piece of preview feature. If changing it brings other benefits, we should do it. What does this give us over the current fix? |
Just tried it out. It seems if lowercase keys are used, that works before the fix. So it's an inflection point. Do we go with what |
aec5405
to
2f4b04a
Compare
Should we add unit test with capital? |
There is one--your test is unchanged 🙂 |
Signed-off-by: Dale Haiducek <[email protected]>
2f4b04a
to
eb9714f
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhaiducek, JustinKuli, yiraeChristineKim 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 |
0d84aee
into
open-cluster-management-io:main
Proposed followup to: