diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-03-21 09:35:15 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-04-08 13:26:17 +0200 |
commit | d070bdf10f14d233288f7318a4e9f7555f070a65 (patch) | |
tree | fff8d59f98bdab3027bb45c4e10ca88594332872 /tpl/images/images.go | |
parent | b08193971a821fc27e549a73120c15e5e5186775 (diff) |
Rework the Destination filesystem to make --renderStaticToDisk work
See #9626
Diffstat (limited to 'tpl/images/images.go')
-rw-r--r-- | tpl/images/images.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/images/images.go b/tpl/images/images.go index aae8b3c2b..ad3b5d9b3 100644 --- a/tpl/images/images.go +++ b/tpl/images/images.go @@ -74,7 +74,7 @@ func (ns *Namespace) Config(path any) (image.Config, error) { return config, nil } - f, err := ns.deps.Fs.WorkingDir.Open(filename) + f, err := ns.deps.Fs.WorkingDirReadOnly.Open(filename) if err != nil { return image.Config{}, err } |