r.Recorder is nil. Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference #6697
Labels
triage/duplicate
Indicates an issue is a duplicate of other open issue.
Bug Report
Hi, I followed the latest Go lang guide to create the sample memcached operator.
memcached_controller.go
but it fails when I try to delete the applied sample yaml.
.. Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference
...
internal/controller.(*MemcachedReconciler).doFinalizerOperationsForMemcached(0xc0000163f0, 0xc000462500)
somehow r.Recorder is nil. So line 299 fails
Is there way to fix this?
The text was updated successfully, but these errors were encountered: