Skip to content

Conversation

dhaiducek
Copy link
Member

@dhaiducek
Copy link
Member Author

/hold for scruntiny

return err
}

cmd.Println(string(out))
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this changed?

Copy link
Member Author

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.

@yiraeChristineKim
Copy link
Contributor

Let me create a Jira ticket to add a unit test for 'generate'.

@JustinKuli
Copy link
Member

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?

@dhaiducek
Copy link
Member Author

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 dryrun generate has always output, or do we go with what was working before this?

@dhaiducek dhaiducek force-pushed the lowercase-api branch 2 times, most recently from aec5405 to 2f4b04a Compare March 11, 2025 19:29
@yiraeChristineKim
Copy link
Contributor

Should we add unit test with capital?

@dhaiducek
Copy link
Member Author

Should we add unit test with capital?

There is one--your test is unchanged 🙂

Signed-off-by: Dale Haiducek <[email protected]>
Copy link

openshift-ci bot commented Mar 11, 2025

[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:
  • OWNERS [JustinKuli,dhaiducek,yiraeChristineKim]

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

@dhaiducek
Copy link
Member Author

/unhold

@openshift-merge-bot openshift-merge-bot bot merged commit 0d84aee into open-cluster-management-io:main Mar 12, 2025
15 checks passed
@dhaiducek dhaiducek deleted the lowercase-api branch March 12, 2025 13:58
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.

3 participants