This is an automated email from the ASF dual-hosted git repository.

franztt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-operator.git

commit c40fdea8de11db7c683b21d4fcbf6080ea1cf1df
Author: francescotimperi <[email protected]>
AuthorDate: Tue Jul 16 19:25:43 2024 +0000

    fix: removed erroneus status update in operator update and resume handlers
---
 nuvolaris/main.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/nuvolaris/main.py b/nuvolaris/main.py
index 19f74df..fd9c44f 100644
--- a/nuvolaris/main.py
+++ b/nuvolaris/main.py
@@ -339,13 +339,11 @@ def whisk_update(spec, status, namespace, diff, name, 
**kwargs):
     owner = kube.get(f"wsk/{name}")
 
     patcher.patch(diff, status, owner, name)
-    status['controller']= "Updated"
 
 @kopf.on.resume('nuvolaris.org', 'v1', 'whisks')
 def whisk_resume(spec, status, name, **kwargs):   
     operator_util.config_from_spec(spec, handler_type="on_resume")
     operator_util.whisk_post_resume(name)
-    status['controller']='Resumed'
 
 def runtimes_filter(name, type, **kwargs):
     return name == 'openwhisk-runtimes' and type == 'MODIFIED'  

Reply via email to