fix typo in log message

This commit is contained in:
Tom Hayward 2024-04-17 16:58:58 -07:00 committed by k8s-infra-cherrypick-robot
parent 0abf03c7da
commit 1fc3c7c2b9

View file

@ -204,7 +204,7 @@ func NewNGINXController(config *Configuration, mc metric.Collector) *NGINXContro
for _, f := range filesToWatch { for _, f := range filesToWatch {
f := f f := f
_, err = file.NewFileWatcher(f, func() { _, err = file.NewFileWatcher(f, func() {
klog.InfoS("File changed detected. Reloading NGINX", "path", f) klog.InfoS("File change detected. Reloading NGINX", "path", f)
n.syncQueue.EnqueueTask(task.GetDummyObject("file-change")) n.syncQueue.EnqueueTask(task.GetDummyObject("file-change"))
}) })
if err != nil { if err != nil {