summaryrefslogtreecommitdiff
path: root/gomplate.go
diff options
context:
space:
mode:
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()