You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/05/21 11:44:58 UTC

[GitHub] [openwhisk-package-alarms] ningyougang commented on a change in pull request #217: Fix can't update strict

ningyougang commented on a change in pull request #217:
URL: https://github.com/apache/openwhisk-package-alarms/pull/217#discussion_r428602818



##########
File path: action/alarmWebAction.js
##########
@@ -293,6 +293,9 @@ function main(params) {
                                 updatedParams.timezone = params.timezone;
                             }
                         }
+                        if(params.hasOwnProperty("strict")) {

Review comment:
       because `param.strict` 's type is `boolean`, so need to use hasOwnProperty to judge whether exist this filed.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org