Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tpl/data
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-12-10 11:55:41 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-12-10 13:10:41 +0300
commit3bc6830411be5b60fc6f65f2b64f6bb9973607e0 (patch)
tree98e9db9fc7aa5451bbf00824ab7851f413340015 /tpl/data
parente4d6ec94b5c1ea1c670f1e7127fc20ff2371cb0b (diff)
Remove the retries on error in remote resources.Get
Fixes #9271 See #9259
Diffstat (limited to 'tpl/data')
-rw-r--r--tpl/data/resources_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/data/resources_test.go b/tpl/data/resources_test.go
index a1ce9ecb6..8425bf87a 100644
--- a/tpl/data/resources_test.go
+++ b/tpl/data/resources_test.go
@@ -86,7 +86,7 @@ func TestScpGetRemote(t *testing.T) {
t.Parallel()
c := qt.New(t)
fs := new(afero.MemMapFs)
- cache := filecache.NewCache(fs, 100, 0, "")
+ cache := filecache.NewCache(fs, 100, "")
tests := []struct {
path string