Revision f92d9674 lib/cmdlib/instance_operation.py
b/lib/cmdlib/instance_operation.py | ||
---|---|---|
433 | 433 |
@rtype: dict |
434 | 434 |
|
435 | 435 |
""" |
436 |
hyper = hypervisor.GetHypervisor(instance.hypervisor) |
|
436 |
hyper = hypervisor.GetHypervisorClass(instance.hypervisor)
|
|
437 | 437 |
# beparams and hvparams are passed separately, to avoid editing the |
438 | 438 |
# instance and then saving the defaults in the instance itself. |
439 | 439 |
hvparams = cluster.FillHV(instance) |
Also available in: Unified diff