better name for subaction

This commit is contained in:
Oliver Gorwits
2013-04-10 21:46:55 +01:00
parent 4adf473b20
commit d3a6c08a9d

View File

@@ -78,7 +78,7 @@ sub worker_body {
schema('netdisco')->resultset('Admin')->create({ schema('netdisco')->resultset('Admin')->create({
action => $a, action => $a,
device => ($sched->{device} || undef), device => ($sched->{device} || undef),
subaction => ($sched->{param} || undef), subaction => ($sched->{extra} || undef),
status => 'queued', status => 'queued',
}); });
} }