Skip to content

Commit

Permalink
Merge pull request #20880 from NickLaMuro/fix-embeddedansible-credent…
Browse files Browse the repository at this point in the history
…ial-specs

[EmbeddedAnsible::CrudCommon] Fix manager validation
  • Loading branch information
agrare authored Dec 9, 2020
2 parents a571d97 + 89d3b8a commit 513c671
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def encrypt_queue_params(params)
end

def create_in_provider_queue(manager_id, params, auth_user = nil)
parent.find(manager_id) # validation that the manager ID is from EmbeddedAnsible
action = "Creating #{self::FRIENDLY_NAME}"
action << " (name=#{params[:name]})" if params[:name]
queue(nil, "create_in_provider", [manager_id, encrypt_queue_params(params)], action, auth_user)
Expand Down

0 comments on commit 513c671

Please sign in to comment.