Skip to content

Commit

Permalink
Merge pull request #17 from jameswnl/tower-v2
Browse files Browse the repository at this point in the history
'try' in case its a v2 tower which doesn't have v3 attr
  • Loading branch information
blomquisg authored Jul 24, 2017
2 parents 8d417ee + 58e1f15 commit 2776915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def credentials
else "#{provider_module}::AutomationManager::Credential"
end
inventory_object.options = inventory_object.type.constantize::EXTRA_ATTRIBUTES.keys.each_with_object({}) do |k, h|
h[k] = credential.public_send(k)
h[k] = credential.try(k)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9529,7 +9529,7 @@ http_interactions:
"", "last_name": ""}}, "created": "2015-12-17T16:55:29.495Z", "modified":
"2015-12-17T21:27:48.511Z", "name": "Openstack", "description": "RHOS in NC",
"user": 2, "team": null, "kind": "openstack", "cloud": true, "host": "http://10.8.96.4:5000/v2.0",
"username": "admin", "password": "$encrypted$", "security_token": "", "domain": "d.com", "project":
"username": "admin", "password": "$encrypted$", "security_token": "", "project":
"admin", "ssh_key_data": "", "ssh_key_unlock": "", "become_method": "", "become_username":
"", "become_password": "", "vault_password": ""}, {"id": 3, "type": "credential",
"url": "/api/v1/credentials/3/", "related": {"created_by": "/api/v1/users/1/",
Expand Down

0 comments on commit 2776915

Please sign in to comment.