Skip to content

Commit

Permalink
fix failing linter
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Dec 2, 2024
1 parent 44e5e41 commit 01eb0bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,4 @@ func extractPrivateKey(pemKey []byte) (any, error) {
}

return privateKey, nil
}
}
5 changes: 2 additions & 3 deletions sdk/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ func (sdk mgSDK) IssueFromCSR(entityID, ttl string, csr string) (Certificate, er
}

r := csrReq{
CSR: csr,
CSR: csr,
}

d, err := json.Marshal(r)
Expand Down Expand Up @@ -678,6 +678,5 @@ type certReq struct {
}

type csrReq struct {
CSR string `json:"csr,omitempty"`
CSR string `json:"csr,omitempty"`
}

0 comments on commit 01eb0bb

Please sign in to comment.