You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2020/05/23 01:46:24 UTC

[openwhisk-package-alarms] branch master updated: Fix can't update strict (#217)

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 aaa0d7c  Fix can't update strict (#217)
aaa0d7c is described below

commit aaa0d7ca1fd592b38ae7c90158a8885f5e8af1f1
Author: ningyougang <41...@qq.com>
AuthorDate: Sat May 23 09:46:15 2020 +0800

    Fix can't update strict (#217)
    
    Co-authored-by: ning.yougang <ni...@navercorp.com>
---
 action/alarmWebAction.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/action/alarmWebAction.js b/action/alarmWebAction.js
index 89e3d76..d9df7da 100644
--- a/action/alarmWebAction.js
+++ b/action/alarmWebAction.js
@@ -293,6 +293,9 @@ function main(params) {
                                 updatedParams.timezone = params.timezone;
                             }
                         }
+                        if(params.hasOwnProperty("strict")) {
+                            updatedParams.strict = params.strict;
+                        }
                     }
 
                     if (params.startDate) {