-
Notifications
You must be signed in to change notification settings - Fork 1.4k
⚠️ Fix required fields linter findings #12558
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
⚠️ Fix required fields linter findings #12558
Conversation
f19ea07
to
ddfb066
Compare
ddfb066
to
1f1c02f
Compare
/test pull-cluster-api-e2e-main-gke |
1f1c02f
to
2afbdee
Compare
/test pull-cluster-api-e2e-main-gke |
@@ -668,7 +668,7 @@ type RemediationData struct { | |||
Machine string `json:"machine"` | |||
|
|||
// timestamp is when last remediation happened. It is represented in RFC3339 form and is in UTC. | |||
Timestamp metav1.Time `json:"timestamp,omitempty,omitzero"` | |||
Timestamp metav1.Time `json:"timestamp"` |
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.
Oh? I realise they have no effect because of the custom marshalers, but, better to include for consistency?
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'm fine either way. I currently reverted that change. We are always setting all 3 fields when we use this struct
(this struct is in an internal package)
@fabriziopandini opinions?
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 leave it as it, it is not an API
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.
Thanks for this PR!
internal/controllers/clusterclass/clusterclass_controller_test.go
Outdated
Show resolved
Hide resolved
2afbdee
to
260f937
Compare
260f937
to
0290441
Compare
@JoelSpeed @fabriziopandini Rebased /test pull-cluster-api-e2e-main-gke |
/lgtm |
LGTM label has been added. Git tree hash: 7f99c78e64975088e519b881c26b8c7c001a4ee8
|
Signed-off-by: Stefan Büringer [email protected]
Signed-off-by: Stefan Büringer [email protected]
0290441
to
cad618a
Compare
Had to rebase because of a conflict |
/test pull-cluster-api-e2e-main |
9680ca1
to
3ee911d
Compare
/test pull-cluster-api-e2e-main |
@sbueringer: 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. Instructions 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-sigs/prow repository. I understand the commands that are listed 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.
/lgtm
LGTM label has been added. Git tree hash: 052fb6d482f1da81ce034879df6f06f5e83fc5dc
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Part of #10852