This is an automated email from the ASF dual-hosted git repository.
style95 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-package-alarms.git
The following commit(s) were added to refs/heads/master by this push:
new 2f170bb Make get the strict value correctly when using wsk trigger to
get (#216)
2f170bb is described below
commit 2f170bb6f27e28bd27223118da8c6c2439faefcd
Author: ningyougang <[email protected]>
AuthorDate: Fri May 22 12:44:30 2020 +0800
Make get the strict value correctly when using wsk trigger to get (#216)
Co-authored-by: ning.yougang <[email protected]>
---
action/alarmWebAction.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/action/alarmWebAction.js b/action/alarmWebAction.js
index c6a787c..89e3d76 100644
--- a/action/alarmWebAction.js
+++ b/action/alarmWebAction.js
@@ -191,7 +191,7 @@ function main(params) {
reason: doc.status.reason
}
};
- var strict = true; // strict is default to true
+ var strict = process.env.ALARM_DELAY_DEFAULT_STRICT === "true";
if (doc.strict !== undefined) {
strict = doc.strict;
}