We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f655000 commit 2bcd839Copy full SHA for 2bcd839
pkg/certwatcher/certwatcher.go
@@ -104,6 +104,14 @@ 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 compability until a future release.
109
+//
110
+// Deprecated: fsnotify has been removed and Start() is now polling instead.
111
+func (cw *CertWatcher) Watch() {
112
+ return
113
+}
114
+
115
// updateCachedCertificate checks if the new certificate differs from the cache,
116
// updates it and returns the result if it was updated or not
117
func (cw *CertWatcher) updateCachedCertificate(cert *tls.Certificate, keyPEMBlock []byte) bool {
0 commit comments