aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/resource_factories
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-12-02 13:31:22 +0100
committerBjørn Erik Pedersen <[email protected]>2021-12-02 16:11:14 +0100
commit94f149b21e0c1d018e72cbea9e7d570785a512e9 (patch)
treec9fc4a2716301441322a5088477dfbc6b7fc4fc1 /resources/resource_factories
parent66753416b5ec0f9f1be588a935d5551dfb5eebb9 (diff)
downloadhugo-94f149b21e0c1d018e72cbea9e7d570785a512e9.tar.gz
hugo-94f149b21e0c1d018e72cbea9e7d570785a512e9.zip
Add a remote retry for resources.Get
Diffstat (limited to 'resources/resource_factories')
-rw-r--r--resources/resource_factories/create/create.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/resources/resource_factories/create/create.go b/resources/resource_factories/create/create.go
index 3f66642d6..8edf501f7 100644
--- a/resources/resource_factories/create/create.go
+++ b/resources/resource_factories/create/create.go
@@ -243,7 +243,6 @@ func (c *Client) FromRemote(uri string, options map[string]interface{}) (resourc
return c.rs.New(
resources.ResourceSourceDescriptor{
- Fs: c.rs.FileCaches.AssetsCache().Fs,
LazyPublish: true,
OpenReadSeekCloser: func() (hugio.ReadSeekCloser, error) {
return hugio.NewReadSeekerNoOpCloser(bytes.NewReader(body)), nil