Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix shared credentials xml element to correctly grab service type #102

Merged
merged 1 commit into from
Jan 24, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix shared credentials xml element to correctly grab service type var…
…iable.
  • Loading branch information
superscott committed Jan 24, 2015
commit 9ab49e57255e198e020fea05791a3920f3d70a84
2 changes: 1 addition & 1 deletion lib/nexpose/shared_credential.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def as_xml
desc = xml.add_element('Description').add_text(@description)

services = xml.add_element('Services')
service = services.add_element('Service').add_attribute('type', @type)
service = services.add_element('Service').add_attribute('type', @service)

(account = xml.add_element('Account')).add_attribute('type', 'nexpose')
account.add_element('Field', { 'name' => 'database' }).add_text(@database)
Expand Down