-
Notifications
You must be signed in to change notification settings - Fork 584
features: rename features to FeatureGate #247
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
features: rename features to FeatureGate #247
Conversation
|
lets rename Feature -> FeatureSet |
|
hmm, naming is hard, wondering if *Set will confuse with replica set or statefulset |
|
how about Feature -> FeatureGate |
|
fyi PRs that rename types will not pass verify-client-go |
5a9b1a3 to
ee96191
Compare
|
@rphillips: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@sjenning @derekwaynecarr pushed the rename to this PR |
|
force merging. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rphillips, sjenning The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@derekwaynecarr this PR blocks bumps on origin: |
|
@adambkaplan sorry for letting this sit around. openshift/origin#22389 should fix. |
Catching up with openshift/api@c9b4e5b2d7 (Add InfrastructureName, 2019-03-01, openshift/api#266). Generated with: $ dep ensure -update github.com/openshift/api $ dep ensure -update github.com/openshift/client-go using: $ dep version dep: version : v0.5.1 build date : 2019-03-20 git hash : faa61893 go version : go1.10.3 go compiler : gc platform : linux/amd64 features : ImportDuringSolve=false The client-go bump avoids: vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/features.go:22:25: undefined: "github.com/openshift/installer/vendor/github.com/openshift/api/config/v1".Features by pulling in openshift/client-go@035cd9bc (bump API and regenerate for FeatureGate API, 2019-03-13, openshift/client-go#97) to match openshift/api@ee961910 (features: rename features to FeatureGate, 2019-03-05, openshift/api#247), which was also pulled in by the API bump.
I was getting this error on my informer. Note FeatureList does not exist, and FeaturesList does. We need to redo the pluralization and update the go-client.
Reopens: #234
/cc @sjenning @derekwaynecarr @deads2k