aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/config.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-03 01:23:15 +0900
committerOphestra <cat@gensokyo.uk>2025-11-03 01:23:15 +0900
commit24435694a5c5c0832292080a68405a9cb9e960f6 (patch)
tree423605c11e642d32d26a4d3c22d0356b19bdd4d5 /hst/config.go
parent1c168babf2213f2b6c5bc90134a3ea74aca9934f (diff)
hst/config: make identifier omitempty
This is an optional field. Serialise it as such. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/config.go')
-rw-r--r--hst/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hst/config.go b/hst/config.go
index 8a966059..ee31a555 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -12,7 +12,7 @@ import (
type Config struct {
// Reverse-DNS style configured arbitrary identifier string.
// Passed to wayland security-context-v1 and used as part of defaults in dbus session proxy.
- ID string `json:"id"`
+ ID string `json:"id,omitempty"`
// System services to make available in the container.
Enablements *Enablements `json:"enablements,omitempty"`