From 1dfae94de344e8d6c2ad8ef09fe326430a5a6dc7 Mon Sep 17 00:00:00 2001
From: Mohammad Firas Sada <mfsada@ucsd.edu>
Date: Thu, 19 Sep 2024 10:40:29 -0700
Subject: [PATCH] Update file script.py

---
 script.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/script.py b/script.py
index 21f3044..8f1f3fc 100644
--- a/script.py
+++ b/script.py
@@ -17,9 +17,11 @@ def do_silly_things(yaml_data):
 
 while True:
     try:
+        print("Fetching the ConfigMap...")
         yaml_data = get_yaml_config()
+        print("ConfigMap retrieved successfully.")
         do_silly_things(yaml_data)
-        time.sleep(30)  # Check every 30 seconds
+        time.sleep(30)
     except Exception as e:
         print(f"An error occurred: {e}")
-        time.sleep(5)  # Wait before retrying
+        time.sleep(5)
\ No newline at end of file
-- 
GitLab