From 8c2c315c2a7df5b1b35060c8a138cfc7810ec096 Mon Sep 17 00:00:00 2001 From: Timothy Smith Date: Tue, 30 Jan 2024 10:15:22 -0500 Subject: [PATCH] syntax error --- lib/krane/deploy_task.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/krane/deploy_task.rb b/lib/krane/deploy_task.rb index 8b7fd3a80..d79183026 100644 --- a/lib/krane/deploy_task.rb +++ b/lib/krane/deploy_task.rb @@ -289,8 +289,7 @@ def validate_resources(resources) validate_globals(resources) resources.select! { |r| r.selected?(@selector) } if @selector_as_filter Krane::Concurrency.split_across_threads(resources) do |r| - r.validate_definition(kubectl: kubectl, selector: @selector, dry_run: true) - end + r.validate_definition(kubectl: kubectl, selector: @selector, dry_run: true) end failed_resources = resources.select(&:validation_failed?) if failed_resources.present?