code-generator
code-generator copied to clipboard
Fix unkeyed struct literals in `metav1.Time` references warnings
Description of changes:
fixes compiler warnings related to unkeyed field initialization in metav1.Time struct literals throughout the codebase. Updated all instances to explicitly specify the Time field when initializing metav1.Time structs.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
/retest
are the warnings produced by the compiler (as in
go build) or gofmt?
@a-hilaly go build compiler
eg:
/retest
/test ec2-controller-test
/test ec2-controller-test
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: a-hilaly, knottnt, michaelhtm, rushmash91
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [a-hilaly,knottnt,michaelhtm,rushmash91]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
go build compiler
Why? I don't understand how the screenshot proofs that it's the compiler
Cc @rushmash91
/retest
@rushmash91: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
| Test name | Commit | Details | Required | Rerun command |
|---|---|---|---|---|
| verify-attribution | f7f07fd46b813d702a067eed0cbc8d7db2ea50b4 | link | false | /test verify-attribution |
| s3-olm-test | f7f07fd46b813d702a067eed0cbc8d7db2ea50b4 | link | false | /test s3-olm-test |
Full PR test history. Your PR dashboard.
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/test-infra repository. I understand the commands that are listed here.