-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Deprecate PrinterColumn annotation to move it to the crd-generator module #5342
Conversation
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.
LGTM (needs running spotless to pass style checks)
FYI @bachmanity1 |
352e0f5
to
8efaf0a
Compare
fixed and squashed. |
@@ -42,7 +42,7 @@ public enum ExcludedTopic { | |||
@PrinterColumn(name = "jokeCategory", priority = 1) | |||
@JsonPropertyDescription("category-description") | |||
private Category category = Category.Any; | |||
@PrinterColumn(name = "excludedTopics") | |||
@io.fabric8.kubernetes.model.annotation.PrinterColumn(name = "excludedTopics") |
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.
I think you're still using deprecated PrinterColumn
here.
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.
+1. I think imports in the io.fabric8.crd.generator.zookeeper.v1.ZookeeperStatus
also must be updated because it still uses deprecated version of PrinterColumn
.
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.
Yes, that's intentional, we want to test that both annotations will work.
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.
then when do you plan to replace old annotations?
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.
With the release of the next Minor, theoretically 6.9 at this point.
8efaf0a
to
fd12d6f
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description
Follow up from #5339
Type of change
test, version modification, documentation, etc.)
Checklist