Repository navigation
Conversation
2cf8abe to
3855027
Compare
| $disco_stats->{discovered_items} = scalar(@$results); | ||
| $disco_stats->{results} = $results; | ||
|
|
||
| my $encoded_data = json_encode($disco_stats, prettify => $self->{option_results}->{prettify}, output => $self->{output}, no_exit => 1) |
There was a problem hiding this comment.
option --prettify manquante dans le POD
| 'api-path:s' => { name => 'api_path', default => '/api' }, | ||
| 'unknown-http-status:s' => { name => 'unknown_http_status', default => '%{http_code} < 200 or %{http_code} >= 300' }, | ||
| 'warning-http-status:s' => { name => 'warning_http_status' }, | ||
| 'critical-http-status:s' => { name => 'critical_http_status' }, |
There was a problem hiding this comment.
options api-path et *-http-status non documentées dans le POD
|
@omercier it's important to not remove the change on file: Moreover, i'll add a enhancement today for the interface discovery |
Hi @garnier-quentin, |
If it works the same. it's ok for me. I tell you when it's ok for the enhancement |
Description
Follows #6319
Type of change
How this pull request can be tested ?
Please describe the procedure to verify that the goal of the PR is matched.
Provide clear instructions so that it can be correctly tested.
Mention the automated tests included in this FOR (what they test like mode/option combinations).
Checklist