Skip to content

Commit d9d7a64

Browse files
committed
Added validity response
1 parent f96dc97 commit d9d7a64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/handler/certmanager/endpoints.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ type reqCreateCert struct {
3232
}
3333

3434
type respCert struct {
35-
Cert `json:"cert"`
35+
Cert `json:"meta"`
3636
Certificate string `json:"certificate,omitempty"`
3737
PrivateKey string `json:"key,omitempty"`
38-
Error string `json:"error,omitempty"`
38+
Error string `json:"validity,omitempty"`
3939
}
4040

4141
// Check interfaces are satisfied

0 commit comments

Comments
 (0)