Skip to content

Commit

Permalink
Update cloud.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoehler authored and mvach committed May 16, 2024
1 parent d12b287 commit f4cee7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bosh_openstack_cpi/lib/cloud/openstack/cloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def validate_options
}

unless ((username && api_key) || (application_credential_id && application_credential_secret)) ||
(username && api_key && application_credential_id && application_credential_secret)
!(username && api_key && application_credential_id && application_credential_secret)
raise ArgumentError, "Invalid OpenStack cloud properties: '#{username} and #{api_key}' or '#{application_credential_id} and #{application_credential_secret}' is required."
end

Expand Down

0 comments on commit f4cee7a

Please sign in to comment.