We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b03cc08 commit def5f83Copy full SHA for def5f83
snmp/http_access_log_combined
@@ -226,7 +226,8 @@ my $config;
226
if ( -f $config_file && !-r $config_file ) {
227
die( $config_file . ' is not readable' );
228
} elsif ( -f $config_file ) {
229
- $config = decode_json( read_file($config_file) );
+ my $raw_config = read_file($config_file);
230
+ $config = decode_json($raw_config);
231
if ( ref($config) ne 'HASH' ) {
232
die( '"' . ref($config) . '" is the base ref type for the config instead of HASH' );
233
}
0 commit comments