Skip to content

Commit

Permalink
fix condition for create_or_update
Browse files Browse the repository at this point in the history
  • Loading branch information
💥Hedi Ghediri committed Jul 30, 2024
1 parent bc180a3 commit 4b82a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/credentials.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def load_current_resource
action :create_or_update do
if current_resource.exists?
description = "Update #{new_resource}"
elsif correct_config?
else
description = "Create #{new_resource}"
end
converge_by(description) do
Expand Down

0 comments on commit 4b82a00

Please sign in to comment.