fix: omit empty claims in AuthConfig

This commit is contained in:
max furman 2018-10-26 10:51:40 -07:00
parent ca6087145f
commit b457b15292

View file

@ -77,7 +77,7 @@ type Config struct {
type AuthConfig struct {
Provisioners []*Provisioner `json:"provisioners,omitempty"`
Template *x509util.ASN1DN `json:"template,omitempty"`
Claims *ProvisionerClaims
Claims *ProvisionerClaims `json:"claims,omitempty"`
DisableIssuedAtCheck bool `json:"disableIssuedAtCheck,omitempty"`
}