这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mortent
Copy link
Contributor

@mortent mortent commented Nov 19, 2022

This fixes an issue with the WorkloadIdentityBinding controller. The new implementation of the RESTMapper interface that was added in #3567 differs from the regular implementation in that it requires that the version is provided when calling the RESTMapping function. This updates the controller to provide the version when use that function.

We should consider fixing the behavior in the RESTMapper implementation, as this differs from the regular implementation.

@mortent mortent requested a review from justinsb November 19, 2022 01:13
@justinsb
Copy link
Contributor

/approve
/lgtm

Agree we should fix it, though I think that it's very rare that we don't care about the version in a controller (?) If that's true, making this an explicit error is not a bad behaviour (?)

@mortent mortent merged commit 9dd01cd into kptdev:main Nov 28, 2022
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.

2 participants