Skip to content

Commit

Permalink
(CAT-1211) - Fixing regression of CAT-1241
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramesh7 committed Jul 27, 2023
1 parent 79dd198 commit 9af42ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .changelog.yml

This file was deleted.

2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-provision",
"version": "2.1.0",
"version": "2.1.1",
"author": "puppetlabs",
"summary": "Provisions and tears down containers / vms / machines through tasks.",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions tasks/provision_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def self.run
params = JSON.parse($stdin.read)
params.transform_keys!(&:to_sym)
action, node_name, platform, vars, retry_attempts, inventory_location = params.values_at(:action, :node_name, :platform, :vars, :retry_attempts, :inventory)

Check failure on line 171 in tasks/provision_service.rb

View workflow job for this annotation

GitHub Actions / spec (ruby 2.7) / spec

Lint/UselessAssignment: Useless assignment to variable - `inventory_location`. Use `_` or `_inventory_location` as a variable name to indicate that it won't be used.

Check failure on line 171 in tasks/provision_service.rb

View workflow job for this annotation

GitHub Actions / spec (ruby 3.2) / spec

Lint/UselessAssignment: Useless assignment to variable - `inventory_location`. Use `_` or `_inventory_location` as a variable name to indicate that it won't be used.
inventory_location = sanitise_inventory_location(params['inventory'])

runner = new
begin
Expand Down

0 comments on commit 9af42ba

Please sign in to comment.