mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
fix(storage): handle dedupe disabled in GetAllDedupeReposCandidates() (#2533)
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
@@ -340,6 +340,10 @@ func (c *Config) IsLdapAuthEnabled() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (c *Config) IsAuthzEnabled() bool {
|
||||
return c.HTTP.AccessControl != nil
|
||||
}
|
||||
|
||||
func (c *Config) IsMTLSAuthEnabled() bool {
|
||||
if c.HTTP.TLS != nil &&
|
||||
c.HTTP.TLS.Key != "" &&
|
||||
|
||||
Reference in New Issue
Block a user