Skip to content

Commit

Permalink
Support older ruby explicit parameter passing
Browse files Browse the repository at this point in the history
  • Loading branch information
timothysmith0609 committed Jan 15, 2025
1 parent 63e524c commit f1cd66c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/krane/resource_deployer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ def deploy_resources(resources, prune: false, verify:, record_summary: true)
!individual_resource.deploy_method_override
case individual_resource.deploy_method
when :create
err, status = create_resource(individual_resource, save_config:)
err, status = create_resource(individual_resource, save_config: save_config)
when :replace
err, status = replace_or_create_resource(individual_resource, save_config:)
err, status = replace_or_create_resource(individual_resource, save_config: save_config)
when :replace_force
err, status = replace_or_create_resource(individual_resource, force: true, save_config:)
err, status = replace_or_create_resource(individual_resource, force: true, save_config: save_config)
else
# Fail Fast! This is a programmer mistake.
raise ArgumentError, "Unexpected deploy method! (#{individual_resource.deploy_method.inspect})"
Expand Down

0 comments on commit f1cd66c

Please sign in to comment.