summaryrefslogtreecommitdiffstats
path: root/config/commonConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/commonConfig.go')
-rw-r--r--config/commonConfig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/commonConfig.go b/config/commonConfig.go
index 2c6497b34..5cf526708 100644
--- a/config/commonConfig.go
+++ b/config/commonConfig.go
@@ -148,7 +148,7 @@ func (b BuildConfig) UseResourceCache(err error) bool {
}
if b.UseResourceCacheWhen == "fallback" {
- return err == herrors.ErrFeatureNotAvailable
+ return herrors.IsFeatureNotAvailableError(err)
}
return true