Put SSLStatus not nullable
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -118,7 +118,7 @@ func (s *Selector) rebuildCacheEntry(ctx context.Context, conn pg.Conn, domain s
|
||||
return fmt.Errorf("domain is not active")
|
||||
}
|
||||
|
||||
if customDomain.SSLStatus == nil || *customDomain.SSLStatus != coredata.CustomDomainSSLStatusActive {
|
||||
if customDomain.SSLStatus != coredata.CustomDomainSSLStatusActive {
|
||||
return fmt.Errorf("domain does not have active SSL certificate")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user