diff --git a/keptn-cert-manager/pkg/certificates/watcher.go b/keptn-cert-manager/pkg/certificates/watcher.go index 25330d413c..b45371b0be 100644 --- a/keptn-cert-manager/pkg/certificates/watcher.go +++ b/keptn-cert-manager/pkg/certificates/watcher.go @@ -136,13 +136,10 @@ func (watcher *CertificateWatcher) ValidateCertificateExpiration(certData []byte return true, nil } -// NoOpCertificateWatcher is a no-op implementation of ICertificateWatcher. type NoOpCertificateWatcher struct{} -// WaitForCertificates is a no-op function for the NoOpCertificateWatcher. func (nw *NoOpCertificateWatcher) WaitForCertificates() {} -// NewNoOpCertificateWatcher creates a new instance of NoOpCertificateWatcher. func NewNoOpCertificateWatcher() *NoOpCertificateWatcher { return &NoOpCertificateWatcher{} }