summaryrefslogtreecommitdiff
path: root/gomplate.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-01-22 11:33:32 -0500
committerGitHub <noreply@github.com>2024-01-22 11:33:32 -0500
commit0ce4a4ea0df956b14169e4a0288854b4358f2dbd (patch)
treeb9e1585cf3ae25629d76e3bedf67daf307283398 /gomplate.go
parent35a865b322e0cda27efeddd8397f354ab541c35a (diff)
Remove deprecated cleanup hooks (#1972)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'gomplate.go')
-rw-r--r--gomplate.go1
1 files changed, 0 insertions, 1 deletions
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()