diff --git a/flyteplugins/go/tasks/logs/logging_utils.go b/flyteplugins/go/tasks/logs/logging_utils.go index 1dba7008f3..4978109458 100644 --- a/flyteplugins/go/tasks/logs/logging_utils.go +++ b/flyteplugins/go/tasks/logs/logging_utils.go @@ -109,10 +109,5 @@ func InitializeLogPlugins(cfg *LogConfig) (tasklog.Plugin, error) { } plugins = append(plugins, cfg.Templates...) - - if len(plugins) == 0 { - return nil, nil - } - return templateLogPluginCollection{plugins: plugins}, nil }