From 0ce4a4ea0df956b14169e4a0288854b4358f2dbd Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Mon, 22 Jan 2024 11:33:32 -0500 Subject: Remove deprecated cleanup hooks (#1972) Signed-off-by: Dave Henderson --- gomplate.go | 1 - 1 file changed, 1 deletion(-) (limited to 'gomplate.go') diff --git a/gomplate.go b/gomplate.go index b1312a34..a2567b53 100644 --- a/gomplate.go +++ b/gomplate.go @@ -29,7 +29,6 @@ func RunTemplates(o *Config) error { // Run all gomplate templates specified by the given configuration func Run(ctx context.Context, cfg *config.Config) error { Metrics = newMetrics() - defer runCleanupHooks() // apply defaults before validation cfg.ApplyDefaults() -- cgit v1.2.3