From 14627c9d51aaa58c180eda35001e27fefd38dec1 Mon Sep 17 00:00:00 2001 From: xenolf Date: Mon, 8 Jun 2015 23:52:41 +0200 Subject: [PATCH] Save accounts using indented JSON --- account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.go b/account.go index aa1f7b83..13325470 100644 --- a/account.go +++ b/account.go @@ -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 }