On Thu, Nov 20, 2014 at 2:37 PM, 'Aaron Karper' via ganeti-devel
<ganeti-devel@googlegroups.com> wrote:
> Signed-off-by: Aaron Karper <akar...@google.com>
> ---
>  lib/cmdlib/node.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/cmdlib/node.py b/lib/cmdlib/node.py
> index 2012008..1738566 100644
> --- a/lib/cmdlib/node.py
> +++ b/lib/cmdlib/node.py
> @@ -540,7 +540,7 @@ class LUNodeSetParams(LogicalUnit):
>      """Filter for getting affected instances.
>
>      """
> -    disks = self.cfg.GetInstanceDisks(instance.disks)
> +    disks = self.cfg.GetInstanceDisks(instance.uuid)
>      any_mirrored = utils.AnyDiskOfType(disks, constants.DTS_INT_MIRROR)
>      return (any_mirrored and
>              self.op.node_uuid in self.cfg.GetInstanceNodes(instance.uuid))
> --
> 2.1.0.rc2.206.gedb03e5
>

LGTM, thanks.

Michele

-- 
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to