From 24435694a5c5c0832292080a68405a9cb9e960f6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 3 Nov 2025 01:23:15 +0900 Subject: hst/config: make identifier omitempty This is an optional field. Serialise it as such. Signed-off-by: Ophestra --- hst/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hst') 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"` -- cgit v1.3.1