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:
parent
8c3ce3f6b1
commit
60a334a08a
@ -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 " \
|
||||
|
Loading…
x
Reference in New Issue
Block a user