From aff5451e3422abaf02f407f974a1de130c68eaea Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Wed, 4 Dec 2024 19:36:50 +0100 Subject: [PATCH] hide empty link deployment state --- links/link.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/links/link.go b/links/link.go index 304cbdc69..754992fee 100644 --- a/links/link.go +++ b/links/link.go @@ -32,7 +32,7 @@ type LinkCommonParams struct { MTU int `yaml:"mtu,omitempty"` Labels map[string]string `yaml:"labels,omitempty"` Vars map[string]interface{} `yaml:"vars,omitempty"` - DeploymentState LinkDeploymentState + DeploymentState LinkDeploymentState `yaml:",omitempty"` } // GetMTU returns the MTU of the link.