forked from TrueCloudLab/certificates
Do not show provisioners if they are not required.
For deployment types like linked ca, the list of provisioners in the ca.json are not required, so we should tag the json as omitempty.
This commit is contained in:
parent
b0e0f2b89d
commit
384be6e205
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ type ASN1DN struct {
|
|||
type AuthConfig struct {
|
||||
*cas.Options
|
||||
AuthorityID string `json:"authorityId,omitempty"`
|
||||
Provisioners provisioner.List `json:"provisioners"`
|
||||
Provisioners provisioner.List `json:"provisioners,omitempty"`
|
||||
Admins []*linkedca.Admin `json:"-"`
|
||||
Template *ASN1DN `json:"template,omitempty"`
|
||||
Claims *provisioner.Claims `json:"claims,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue