fix(storage): handle dedupe disabled in GetAllDedupeReposCandidates() (#2533)

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2024-07-09 15:33:11 +03:00
committed by GitHub
parent aaee0220e4
commit 1c2736d970
3 changed files with 21 additions and 9 deletions
+4
View File
@@ -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 != "" &&