Skip to content

Commit

Permalink
Replace time.Duration with *sharedv1alpha1.Duration
Browse files Browse the repository at this point in the history
  • Loading branch information
taraspos committed Sep 6, 2024
1 parent cc70b87 commit 37d33d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pkg/apis/config/controller/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ limitations under the License.
package v1alpha1

import (
"time"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
logsapi "k8s.io/component-base/logs/api/v1"

Expand Down Expand Up @@ -225,5 +223,5 @@ type ACMEDNS01Config struct {

// The duration the controller should wait after determining that an ACME dns entry exists.
// This should be a valid duration string, for example 180s or 1h
PropagationTime time.Duration `json:"propagationTime,omitempty"`
PropagationTime *sharedv1alpha1.Duration `json:"propagationTime,omitempty"`
}
5 changes: 5 additions & 0 deletions pkg/apis/config/controller/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 37d33d9

Please sign in to comment.