mirror of https://github.com/status-im/consul.git
Omit empty node_meta
This commit is contained in:
parent
945da0395a
commit
624b7daba4
|
@ -53,7 +53,7 @@ type TestAddressConfig struct {
|
||||||
// TestServerConfig is the main server configuration struct.
|
// TestServerConfig is the main server configuration struct.
|
||||||
type TestServerConfig struct {
|
type TestServerConfig struct {
|
||||||
NodeName string `json:"node_name"`
|
NodeName string `json:"node_name"`
|
||||||
NodeMeta map[string]string `json:"node_meta"`
|
NodeMeta map[string]string `json:"node_meta,omitempty"`
|
||||||
Performance *TestPerformanceConfig `json:"performance,omitempty"`
|
Performance *TestPerformanceConfig `json:"performance,omitempty"`
|
||||||
Bootstrap bool `json:"bootstrap,omitempty"`
|
Bootstrap bool `json:"bootstrap,omitempty"`
|
||||||
Server bool `json:"server,omitempty"`
|
Server bool `json:"server,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue