Commit 20fa674
committed
CP-14790: No licence check for VM.revert and import
Even when creation of Windows-Update VMs is not allowed by the
licence, we want to allow it when it is done in the course of an
import or revert-to-snapshot.
In both cases, we avoid the check for the Windows-Update vendor-device
licence feature by using the relevant helper function instead of
calling Client.VM.create_from_record directly.
Signed-off-by: Thomas Sanders <[email protected]>1 parent 88b607f commit 20fa674
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
427 | 429 | | |
428 | 430 | | |
429 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
479 | | - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
| |||
0 commit comments