forked from TrueCloudLab/lego
Save accounts using indented JSON
This commit is contained in:
parent
ea47f1137a
commit
14627c9d51
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ func (a *Account) GetRegistration() *acme.RegistrationResource {
|
|||
|
||||
// Save the account to disk
|
||||
func (a *Account) Save() error {
|
||||
jsonBytes, err := json.Marshal(a)
|
||||
jsonBytes, err := json.MarshalIndent(a, "", "\t")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue