Merge pull request #2660 from hashicorp/sethvargo-patch-1

Omit empty node_meta
This commit is contained in:
James Phillips 2017-01-17 17:18:29 -08:00 committed by GitHub
commit 61a20c53ba
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"`