Commit 6633774e authored by Guido Trotter's avatar Guido Trotter
Browse files

gnt-instance fix a typo in AddInstance

It's hvparams, not opts.hvparams.

Reviewed-by: iustinp
parent 43e99cff
...@@ -356,7 +356,7 @@ def AddInstance(opts, args): ...@@ -356,7 +356,7 @@ def AddInstance(opts, args):
disks[didx] = ddict disks[didx] = ddict
utils.ForceDictType(opts.beparams, constants.BES_PARAMETER_TYPES) utils.ForceDictType(opts.beparams, constants.BES_PARAMETER_TYPES)
utils.ForceDictType(opts.hvparams, constants.HVS_PARAMETER_TYPES) utils.ForceDictType(hvparams, constants.HVS_PARAMETER_TYPES)
op = opcodes.OpCreateInstance(instance_name=instance, op = opcodes.OpCreateInstance(instance_name=instance,
disks=disks, disks=disks,
......
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