(core) json format for statefile format (#4164)
This commit is contained in:
parent
1fa1f336c2
commit
b7f33d699a
|
@ -113,7 +113,7 @@ sub check_options {
|
|||
}
|
||||
}
|
||||
|
||||
$self->{statefile_format} = 'dumper';
|
||||
$self->{statefile_format} = 'json';
|
||||
if (defined($options{option_results}->{statefile_format}) && $options{option_results}->{statefile_format} ne '' &&
|
||||
$options{option_results}->{statefile_format} =~ /^(?:dumper|json|storable)$/) {
|
||||
$self->{statefile_format} = $options{option_results}->{statefile_format};
|
||||
|
|
Loading…
Reference in New Issue