Combine VmDefinitionModel and VmDefinition.
This commit is contained in:
parent
b250398213
commit
85a4521299
16 changed files with 121 additions and 206 deletions
|
|
@ -593,7 +593,7 @@ public class VmAccess extends FreeMarkerConlet<VmAccess.ResourceModel> {
|
|||
Map.of("namespace", vmDef.namespace(),
|
||||
"name", vmDef.name()),
|
||||
"spec", vmDef.spec(),
|
||||
"status", vmDef.getStatus());
|
||||
"status", vmDef.status());
|
||||
} catch (JsonSyntaxException e) {
|
||||
logger.log(Level.SEVERE, e,
|
||||
() -> "Failed to serialize VM definition");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue