Adding support for nmhe (#3219)

* adding support for nmhe

* updating docs
This commit is contained in:
Mzack9999
2023-01-22 10:38:50 +01:00
committed by GitHub
parent 6ebf5a789e
commit 6c56a20544
9 changed files with 34 additions and 15 deletions

View File

@@ -89,9 +89,6 @@ func (c *Cache) normalizeCacheValue(value string) string {
// - host type
func (c *Cache) Check(value string) bool {
finalValue := c.normalizeCacheValue(value)
if !c.failedTargets.Has(finalValue) {
return false
}
existingCacheItem, err := c.failedTargets.GetIFPresent(finalValue)
if err != nil {