Omit empty node_meta

This commit is contained in:
Seth Vargo 2017-01-17 20:17:20 -05:00 committed by GitHub
parent 945da0395a
commit 624b7daba4
1 changed files with 1 additions and 1 deletions

View File

@ -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"`