Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mickenordin authored Mar 29, 2017
1 parent 84a6967 commit ae0816e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion SU/API/Icinga2.pod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ SU::API::Icinga2
};


my $put_result = $icinga->do_request("PUT", "/objects/hosts/localhost.example.com"", "", $put_data);
my $put_result = $icinga->do_request("PUT", "/objects/hosts/localhost.example.com", "", $put_data);
if (!$put_result) {
warn $icinga->request_code;
warn $icinga->request_status_line;
};

my $post_result = $icinga->do_request("POST", "/objects/hosts/localhost.example.com", "", $post_data);
if (!$post_result) {
warn $icinga->request_code;
warn $icinga->request_status_line;
Expand Down

0 comments on commit ae0816e

Please sign in to comment.