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

work around change in Red Hat bugzilla #1038053 #28

Merged
merged 1 commit into from
Feb 11, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/ovirt/datacenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(client, xml)
def parse_xml_attributes!(xml)
@description = (xml/'description').first.text rescue nil
@status = (xml/'status').first.text.strip
@storage_type = (xml/'storage_type').first.text
@storage_type = (xml/'storage_type').first.text rescue nil
@storage_format = (xml/'storage_format').first.text rescue nil
@supported_versions = (xml/'supported_versions').collect { |v|
parse_version v
Expand All @@ -23,4 +23,4 @@ def parse_xml_attributes!(xml)
end
end

end
end