summaryrefslogtreecommitdiff
path: root/lib/OpenQA/WebAPI/Controller/API/V1/Job.pm
diff options
context:
space:
mode:
authorStephan Kulow <coolo@suse.de>2018-05-24 19:21:45 +0200
committerStephan Kulow <coolo@suse.de>2018-05-24 20:28:53 +0200
commit647f7c36a47ef7441a820d8a5a5b0b46642350bf (patch)
tree3a413749bc373b7ad115c6febbb15ac8b9205e45 /lib/OpenQA/WebAPI/Controller/API/V1/Job.pm
parent003be4d6229e7b445f08fac6e27247951a4ca71e (diff)
Remove support for retry_avbl
This may be reason why duplicate fails and is no longer useful as we no longer auto duplicate on errors. So removing this is a first step to make duplicate less fragile
Diffstat (limited to 'lib/OpenQA/WebAPI/Controller/API/V1/Job.pm')
-rw-r--r--lib/OpenQA/WebAPI/Controller/API/V1/Job.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/OpenQA/WebAPI/Controller/API/V1/Job.pm b/lib/OpenQA/WebAPI/Controller/API/V1/Job.pm
index 2a81e6d6d..7eb75fc26 100644
--- a/lib/OpenQA/WebAPI/Controller/API/V1/Job.pm
+++ b/lib/OpenQA/WebAPI/Controller/API/V1/Job.pm
@@ -371,7 +371,7 @@ sub update_status {
=item update()
Updates the settings of a job with information specified in a passed JSON argument.
-Columns group_id, priority and retry_avbl cannot be set.
+Columns group_id and priority cannot be set.
=back
@@ -387,7 +387,7 @@ sub update {
my $settings = delete $json->{settings};
# validate specified columns (print error if at least one specified column does not exist)
- my @allowed_cols = qw(group_id priority retry_avbl);
+ my @allowed_cols = qw(group_id priority);
for my $key (keys %$json) {
if (!grep $_ eq $key, @allowed_cols) {
return $self->render(json => {error => "Column $key can not be set"}, status => 400);