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:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user