Commit 904b3bfe authored by René Nussbaumer's avatar René Nussbaumer
Browse files

gnt-group modify: ndparams not correctly updated

ndparams should delete keys which are reset to default
Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarAdeodato Simo <>
Reviewed-by: default avatarGuido Trotter <>
parent 78b40c5e
......@@ -10219,8 +10219,9 @@ class LUSetGroupParams(LogicalUnit):
(self.op.group_name, self.group_uuid))
if self.op.ndparams:
new_ndparams = _GetUpdatedParams(, self.op.ndparams)
utils.ForceDictType(self.op.ndparams, constants.NDS_PARAMETER_TYPES)
self.new_ndparams =
self.new_ndparams = new_ndparams
def BuildHooksEnv(self):
"""Build hooks env.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment