hst/config: make identifier omitempty
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Test / Create distribution (push) Successful in 34s
				
			
		
			
				
	
				Test / Sandbox (push) Successful in 2m11s
				
			
		
			
				
	
				Test / Hakurei (push) Successful in 3m17s
				
			
		
			
				
	
				Test / Hpkg (push) Successful in 4m2s
				
			
		
			
				
	
				Test / Sandbox (race detector) (push) Successful in 4m12s
				
			
		
			
				
	
				Test / Hakurei (race detector) (push) Successful in 5m7s
				
			
		
			
				
	
				Test / Flake checks (push) Successful in 1m33s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Test / Create distribution (push) Successful in 34s
				
			Test / Sandbox (push) Successful in 2m11s
				
			Test / Hakurei (push) Successful in 3m17s
				
			Test / Hpkg (push) Successful in 4m2s
				
			Test / Sandbox (race detector) (push) Successful in 4m12s
				
			Test / Hakurei (race detector) (push) Successful in 5m7s
				
			Test / Flake checks (push) Successful in 1m33s
				
			This is an optional field. Serialise it as such. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
		
							parent
							
								
									1c168babf2
								
							
						
					
					
						commit
						24435694a5
					
				@ -712,7 +712,6 @@ func TestPrintPs(t *testing.T) {
 | 
				
			|||||||
    "instance": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
 | 
					    "instance": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
 | 
				
			||||||
    "pid": 48879,
 | 
					    "pid": 48879,
 | 
				
			||||||
    "shim_pid": 51966,
 | 
					    "shim_pid": 51966,
 | 
				
			||||||
    "id": "",
 | 
					 | 
				
			||||||
    "enablements": {
 | 
					    "enablements": {
 | 
				
			||||||
      "wayland": true,
 | 
					      "wayland": true,
 | 
				
			||||||
      "pulse": true
 | 
					      "pulse": true
 | 
				
			||||||
 | 
				
			|||||||
@ -12,7 +12,7 @@ import (
 | 
				
			|||||||
type Config struct {
 | 
					type Config struct {
 | 
				
			||||||
	// Reverse-DNS style configured arbitrary identifier string.
 | 
						// Reverse-DNS style configured arbitrary identifier string.
 | 
				
			||||||
	// Passed to wayland security-context-v1 and used as part of defaults in dbus session proxy.
 | 
						// 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.
 | 
						// System services to make available in the container.
 | 
				
			||||||
	Enablements *Enablements `json:"enablements,omitempty"`
 | 
						Enablements *Enablements `json:"enablements,omitempty"`
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user