gofmted the code
This commit is contained in:
parent
0c21f0ae9e
commit
a3b5211e0f
2 changed files with 3 additions and 5 deletions
|
@ -24,7 +24,6 @@ func (s *RekeyRequest) Validate() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
|
||||
// Rekey is similar to renew except that the certificate will be renewed with new key from csr.
|
||||
func (h *caHandler) Rekey(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
|
@ -39,7 +38,6 @@ func (h *caHandler) Rekey(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
if err := body.Validate(); err != nil {
|
||||
WriteError(w, err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue