diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/commonConfig.go | 2 |
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 |