Skip to content

Commit

Permalink
ci: unit-test failing due to unknown json field
Browse files Browse the repository at this point in the history
  • Loading branch information
ylmrx committed Dec 12, 2024
1 parent b36041e commit 61ba3bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/kuik/v1alpha1/repository_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

type DurationOverride struct {
time.Duration `protobuf:"varint,1,opt,name=duration,casttype=time.Duration"`
time.Duration `json:"-" protobuf:"varint,1,opt,name=duration,casttype=time.Duration"`
}

// This re-implements metav1.Duration' UnmarshalJSON and adds support for a 'd' (days) suffix
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/kuik.enix.io_repositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
description: UpdateInterval is the interval in human readable format
(1m, 1h, 1d...) at which matched CachedImages from this Repository
are updated (see spec.UpdateFilters)
type: string
type: object
required:
- name
type: object
Expand Down
2 changes: 1 addition & 1 deletion helm/kube-image-keeper/crds/repository-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
description: UpdateInterval is the interval in human readable format
(1m, 1h, 1d...) at which matched CachedImages from this Repository
are updated (see spec.UpdateFilters)
type: string
type: object
required:
- name
type: object
Expand Down

0 comments on commit 61ba3bd

Please sign in to comment.