Skip to content

Commit

Permalink
Merge pull request zorkian#80 from hongweipeng/patch-1
Browse files Browse the repository at this point in the history
fix http_send_raw_command parm error
  • Loading branch information
zorkian committed Apr 12, 2017
2 parents 9960a10 + 2562b0a commit 2b0077c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nagios-api
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def http_restart_nagios(req, objid, reqobj):
else:
return json_response(req, 'Restart successful')

def http_send_raw_command(req, objid, reqbj):
def http_send_raw_command(req, objid, reqobj):
command = reqobj['command']
if not command:
return json_error(req, "Missing command to send to nagios")
Expand Down

0 comments on commit 2b0077c

Please sign in to comment.