Skip to content

Commit

Permalink
Fix Authentication.build_credential_types
Browse files Browse the repository at this point in the history
The Authentication.build_credential_types method was returning Workflows
credentials under `embedded_ansible_credential_types`
  • Loading branch information
agrare committed Jul 5, 2023
1 parent a5ee8fd commit c99bfc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def self.new(*args, &block)

CREDENTIAL_TYPES = {
:external_credential_types => 'ManageIQ::Providers::ExternalAutomationManager::Authentication',
:embedded_ansible_credential_types => 'ManageIQ::Providers::EmbeddedAutomationManager::Authentication'
:embedded_ansible_credential_types => 'ManageIQ::Providers::EmbeddedAnsible::AutomationManager::Credential',
:workflows_credential_types => 'ManageIQ::Providers::Workflows::AutomationManager::Credential'
}.freeze

# FIXME: To address problem with url resolution when displayed as a quadicon,
Expand Down

0 comments on commit c99bfc7

Please sign in to comment.