Index: common/config/impl/remote/remote.go |
diff --git a/common/config/impl/remote/remote.go b/common/config/impl/remote/remote.go |
index 7989512a31cc84b050919daea61f724c023c6ac8..50c44567f360d5574831a29eadc6d39822acbacd 100644 |
--- a/common/config/impl/remote/remote.go |
+++ b/common/config/impl/remote/remote.go |
@@ -15,8 +15,8 @@ import ( |
configApi "github.com/luci/luci-go/common/api/luci_config/config/v1" |
"github.com/luci/luci-go/common/config" |
- "github.com/luci/luci-go/common/errors" |
"github.com/luci/luci-go/common/logging" |
+ "github.com/luci/luci-go/common/retry" |
) |
// ClientFactory returns HTTP client to use (given a context). |
@@ -293,7 +293,7 @@ func apiErr(e error) error { |
return config.ErrNoConfig |
} |
if err.Code >= 500 { |
- return errors.WrapTransient(err) |
+ return retry.Tag.Apply(err) |
} |
return err |
} |