Made startnode also care about conditions

This commit is contained in:
Frikky
2023-11-17 01:31:10 +01:00
parent 3c34e36be4
commit deba8f15a2
2 changed files with 8 additions and 7 deletions
+7 -6
View File
@@ -2829,12 +2829,13 @@ class AppBase:
return True, ""
# Startnode should always run - no need to check incoming
try:
if action["id"] == fullexecution["start"]:
return True, ""
except Exception as error:
self.logger.info(f"[WARNING] Failed checking startnode: {error}")
return True, ""
# Removed November 2023 due to people wanting startnode to also check
#try:
# if action["id"] == fullexecution["start"]:
# return True, ""
#except Exception as error:
# self.logger.info(f"[WARNING] Failed checking startnode: {error}")
# return True, ""
available_checks = [
"=",
+1 -1
View File
@@ -1,6 +1,6 @@
module shuffle-shared
//replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
go 1.19