Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions acme/client/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func (c *Client) Rollover(newKey crypto.Signer) error {
oldKey := keys.JWKForSigner(account.Signer)

rolloverRequest := struct {
Account string
OldKey jose.JSONWebKey
Account string `json:"account"`
OldKey jose.JSONWebKey `json:"oldKey"`
}{
Account: account.ID,
OldKey: oldKey,
Expand Down Expand Up @@ -171,7 +171,7 @@ func (c *Client) CreateOrder(order *resources.Order) error {
}

req := struct {
Identifiers []resources.Identifier
Identifiers []resources.Identifier `json:"identifiers"`
}{
Identifiers: order.Identifiers,
}
Expand Down
2 changes: 1 addition & 1 deletion shell/commands/finalize/finalize.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func finalizeHandler(c *ishell.Context) {
}

finalizeRequest := struct {
CSR string
CSR string `json:"csr"`
}{
CSR: b64csr,
}
Expand Down
2 changes: 1 addition & 1 deletion shell/commands/getAcct/getAcct.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func getAccountHandler(c *ishell.Context) {
client := commands.GetClient(c)

getAcctReq := struct {
OnlyReturnExisting bool
OnlyReturnExisting bool `json:"onlyReturnExisting"`
}{
OnlyReturnExisting: true,
}
Expand Down
4 changes: 2 additions & 2 deletions shell/commands/revokeCert/revokeCert.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ func revokeCertHandler(c *ishell.Context) {
certBytes := pemBlock.Bytes

revokeRequest := struct {
Certificate string
Reason int
Certificate string `json:"certificate"`
Reason int `json:"reason"`
}{
Certificate: base64.RawURLEncoding.EncodeToString(certBytes),
Reason: opts.reason,
Expand Down
Loading