Add check_mode support to HipChat module

The HipChat module declares to support check_mode,
but the message is sent in any case.

With this, if executed in check mode, the module will exit
before actually sending the message to HipChat.

It will return changed=False, as per the convention
for notifications modules.
This commit is contained in:
Jean-Fred Berthelot 2015-04-25 12:56:35 +01:00 committed by Matt Clay
parent 43687f1940
commit ae5fed65f2

File diff suppressed because one or more lines are too long