Skip to content

Commit

Permalink
ignore linting on deprecated statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Dec 28, 2023
1 parent 6386b85 commit c9ed60f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/events/models/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Event struct {

// The time (ISO8601) at which the event was last recorded
//
// swagger:strfmt date
// swagger:strfmt date-time
// example: 2020-11-05T13:25:07.000Z
LastTimestamp time.Time `json:"lastTimestamp"`

Expand Down
4 changes: 2 additions & 2 deletions api/secrets/models/tls_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ type TLSCertificate struct {
// NotBefore defines the lower date/time validity boundary
//
// required: true
// swagger:strfmt date
// swagger:strfmt date-time
// example: 2022-08-09T00:00:00Z
NotBefore time.Time `json:"notBefore"`
// NotAfter defines the uppdater date/time validity boundary
//
// required: true
// swagger:strfmt date
// swagger:strfmt date-time
// example: 2023-08-25T23:59:59Z
NotAfter time.Time `json:"notAfter"`
// DNSNames defines list of Subject Alternate Names in the certificate
Expand Down
6 changes: 3 additions & 3 deletions swaggerui/html/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6023,7 +6023,7 @@
"lastTimestamp": {
"description": "The time (ISO8601) at which the event was last recorded",
"type": "string",
"format": "date",
"format": "date-time",
"x-go-name": "LastTimestamp"
},
"message": {
Expand Down Expand Up @@ -7390,13 +7390,13 @@
"notAfter": {
"description": "NotAfter defines the uppdater date/time validity boundary",
"type": "string",
"format": "date",
"format": "date-time",
"x-go-name": "NotAfter"
},
"notBefore": {
"description": "NotBefore defines the lower date/time validity boundary",
"type": "string",
"format": "date",
"format": "date-time",
"x-go-name": "NotBefore"
},
"subject": {
Expand Down

0 comments on commit c9ed60f

Please sign in to comment.