1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

shared/api: Add missing Description field to InstanceSnapshots

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2025-08-28 16:55:43 -04:00
parent 42c4b216bd
commit 722076723c

View File

@@ -78,6 +78,10 @@ type InstanceSnapshot struct {
// Example: 2021-03-23T20:00:00-04:00
CreatedAt time.Time `json:"created_at" yaml:"created_at"`
// Instance description
// Example: My description
Description string `json:"description" yaml:"description"`
// Instance devices (see doc/instances.md)
// Example: {"root": {"type": "disk", "pool": "default", "path": "/"}}
Devices map[string]map[string]string `json:"devices" yaml:"devices"`