From 85301166fe4720c45d9427b7d64f19dabe7949e0 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Fri, 6 Mar 2020 18:41:26 -0800 Subject: [PATCH] builtin/logical/pki: fix JSON tag (#8324) --- builtin/logical/pki/path_roles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/logical/pki/path_roles.go b/builtin/logical/pki/path_roles.go index 58e348d95..6b6757631 100644 --- a/builtin/logical/pki/path_roles.go +++ b/builtin/logical/pki/path_roles.go @@ -726,7 +726,7 @@ type roleEntry struct { MaxTTL time.Duration `json:"max_ttl_duration" mapstructure:"max_ttl_duration"` AllowLocalhost bool `json:"allow_localhost" mapstructure:"allow_localhost"` AllowedBaseDomain string `json:"allowed_base_domain" mapstructure:"allowed_base_domain"` - AllowedDomainsOld string `json:"allowed_domains,omit_empty"` + AllowedDomainsOld string `json:"allowed_domains,omitempty"` AllowedDomains []string `json:"allowed_domains_list" mapstructure:"allowed_domains"` AllowBaseDomain bool `json:"allow_base_domain"` AllowBareDomains bool `json:"allow_bare_domains" mapstructure:"allow_bare_domains"`