jobset API: expose and check the enable_dynamic_run_command
This commit is contained in:
parent
726ea80e99
commit
1affb1cfb1
|
@ -414,6 +414,7 @@ sub as_json {
|
|||
|
||||
# boolean_columns
|
||||
"enableemail" => $self->get_column("enableemail") ? JSON::MaybeXS::true : JSON::MaybeXS::false,
|
||||
"enable_dynamic_run_command" => $self->get_column("enable_dynamic_run_command") ? JSON::MaybeXS::true : JSON::MaybeXS::false,
|
||||
"visible" => $self->get_column("hidden") ? JSON::MaybeXS::false : JSON::MaybeXS::true,
|
||||
|
||||
"inputs" => { map { $_->name => $_ } $self->jobsetinputs }
|
||||
|
|
|
@ -132,6 +132,7 @@ subtest 'Update jobset "job" to legacy type' => sub {
|
|||
emailoverride => "",
|
||||
enabled => 3,
|
||||
enableemail => JSON::MaybeXS::false,
|
||||
enable_dynamic_run_command => JSON::MaybeXS::false,
|
||||
errortime => undef,
|
||||
errormsg => "",
|
||||
fetcherrormsg => "",
|
||||
|
|
Loading…
Reference in a new issue