1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

L #-: Change to single quotes

This commit is contained in:
Tino Vazquez 2020-02-10 17:29:35 +01:00
parent 8c3ce3f6b1
commit 60a334a08a
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -21,8 +21,8 @@ module OneDBFsck
@db.fetch('SELECT oid,body,cid FROM host_pool') do |row|
doc = nokogiri_doc(row[:body], 'host_pool')
cid = doc.root.xpath("CLUSTER_ID").text.to_i
cname = doc.root.xpath("CLUSTER").text
cid = doc.root.xpath('CLUSTER_ID').text.to_i
cname = doc.root.xpath('CLUSTER').text
if cid != row[:cid]
log_error("Host #{row[:oid]} is in cluster #{cid}, but cid " \