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 80d3149de2
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.
type TestServerConfig struct {
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"`
Bootstrap bool `json:"bootstrap,omitempty"`
Server bool `json:"server,omitempty"`