We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0823530 + 2085acc commit 3e66810Copy full SHA for 3e66810
pkg/certwatcher/certwatcher.go
@@ -104,6 +104,13 @@ func (cw *CertWatcher) Start(ctx context.Context) error {
104
}
105
106
107
+// Watch used to read events from the watcher's channel and reacts to changes,
108
+// it has currently no function and it's left here for backward compatibility until a future release.
109
+//
110
+// Deprecated: fsnotify has been removed and Start() is now polling instead.
111
+func (cw *CertWatcher) Watch() {
112
+}
113
+
114
// updateCachedCertificate checks if the new certificate differs from the cache,
115
// updates it and returns the result if it was updated or not
116
func (cw *CertWatcher) updateCachedCertificate(cert *tls.Certificate, keyPEMBlock []byte) bool {
0 commit comments