From d070bdf10f14d233288f7318a4e9f7555f070a65 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Mon, 21 Mar 2022 09:35:15 +0100 Subject: Rework the Destination filesystem to make --renderStaticToDisk work See #9626 --- config/defaultConfigProvider.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/defaultConfigProvider.go') diff --git a/config/defaultConfigProvider.go b/config/defaultConfigProvider.go index 46f083ed2..822f421fa 100644 --- a/config/defaultConfigProvider.go +++ b/config/defaultConfigProvider.go @@ -75,6 +75,11 @@ func NewFrom(params maps.Params) Provider { } } +// NewWithTestDefaults is used in tests only. +func NewWithTestDefaults() Provider { + return SetBaseTestDefaults(New()) +} + // defaultConfigProvider is a Provider backed by a map where all keys are lower case. // All methods are thread safe. type defaultConfigProvider struct { -- cgit v1.2.3