Skip to content

Commit 7b14703

Browse files
Delete the reflected object
This was mistakenly attempting to delete the source object instead of the reflected object.
1 parent 8985492 commit 7b14703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ES.Kubernetes.Reflector/Mirroring/Core/ResourceMirror.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public async Task Handle(WatcherEvent notification, CancellationToken cancellati
8484
{
8585
Logger.LogDebug("Deleting {objNsName} - Source {sourceNsName} has been deleted",
8686
reflectionNsName, objNsName);
87-
await OnResourceDelete(objNsName);
87+
await OnResourceDelete(reflectionNsName);
8888
}
8989

9090
_autoSources.Remove(objNsName, out _);

0 commit comments

Comments
 (0)