Do not send empty certificates to nginx

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-06-25 07:49:00 -04:00
parent d57fddebd7
commit 8ca5c1cba9
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
2 changed files with 10 additions and 3 deletions

View file

@ -43,7 +43,7 @@ type SSLCert struct {
// ExpiresTime contains the expiration of this SSL certificate in timestamp format
ExpireTime time.Time `json:"expires"`
// Pem encoded certificate and key concatenated
PemCertKey string `json:"pemCertKey"`
PemCertKey string `json:"pemCertKey,omitempty"`
}
// GetObjectKind implements the ObjectKind interface as a noop