Skip to content

Commit dbabc96

Browse files
author
tymuraheiev
committed
Added important comment in handlers
1 parent 713fd99 commit dbabc96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/handlers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ async def create_fn(
166166
synced_namespace=matchedns,
167167
))
168168

169-
# return for what ??? Should be deleted ??
169+
# This return is mandatory! It's used to update the status of the CRD
170+
# https://kopf.readthedocs.io/en/stable/results/
170171
return {'syncedns': matchedns}
171172

172173

0 commit comments

Comments
 (0)