[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH 24/33] cs-adjust-flight: Provide `jobs-del' operation



On Thu, 2015-09-17 at 18:37 +0100, Ian Jackson wrote:
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Missing an update to the comment describing the sub commands provided by
this too.

With that added:
    Acked-by: Ian Campbell <    ian.campbell@xxxxxxxxxx    >

> ---
> v2: New patch
> ---
>  cs-adjust-flight |    7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/cs-adjust-flight b/cs-adjust-flight
> index 4056765..04ab6fe 100755
> --- a/cs-adjust-flight
> +++ b/cs-adjust-flight
> @@ -186,6 +186,13 @@ sub change__jobs_list {
>            });
>  }
>  
> +sub change__jobs_del {
> +    die unless @changes >= 1;
> +    my $jobspec = shift @changes;
> +    prep_rm_jobs();
> +    for_jobs($dstflight, $jobspec, \&do_rm_job, 1);
> +}
> +
>  sub change__copy_jobs {
>      die unless @changes >= 2;
>      my $srcflight = shift @changes;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.