We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
omitempty
1 parent b681cc1 commit 691a46bCopy full SHA for 691a46b
components/common-go/baseserver/config.go
@@ -15,7 +15,7 @@ type ServicesConfiguration struct {
15
16
type ServerConfiguration struct {
17
Address string `json:"address" yaml:"address"`
18
- TLS *TLSConfiguration `json:"tls" yaml:"tls"`
+ TLS *TLSConfiguration `json:"tls,omitempty" yaml:"tls,omitempty"`
19
}
20
21
// GetAddress returns the configured address or an empty string of s is nil
0 commit comments