[PATCH] nvmetcli: fix double ana groupid when save config
Guixin Liu
kanie at linux.alibaba.com
Wed Oct 30 19:37:46 PDT 2024
gentle ping...
Best Regards,
Guixin Liu
在 2024/10/29 11:43, Guixin Liu 写道:
> There are two ana grpid in json file after save the config,
> including ana group: "ana":{"grpid"}, and "ana_grpid", remove one,
> still one can use both of them to set ana_grpid.
>
> Signed-off-by: Guixin Liu <kanie at linux.alibaba.com>
> ---
> nvmet/nvme.py | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/nvmet/nvme.py b/nvmet/nvme.py
> index 59efdb5..41b4845 100644
> --- a/nvmet/nvme.py
> +++ b/nvmet/nvme.py
> @@ -626,7 +626,6 @@ class Namespace(CFSNode):
> def dump(self):
> d = super(Namespace, self).dump()
> d['nsid'] = self.nsid
> - d['ana_grpid'] = self.grpid
> return d
>
>
More information about the Linux-nvme
mailing list