diff --git a/src/onedb/fsck/marketplace.rb b/src/onedb/fsck/marketplace.rb index 78bc54d74e..0a8bfc7585 100644 --- a/src/onedb/fsck/marketplace.rb +++ b/src/onedb/fsck/marketplace.rb @@ -82,7 +82,7 @@ module OneDBFsck @db[:marketplace_pool].where(:oid => id).update(:body => body) end end - elsif !markets_fix.empty? + elsif !@fixes_marketplace.empty? log_msg("^ Marketplace errors need to be fixed in the master OpenNebula") end end diff --git a/src/onedb/fsck/marketplaceapp.rb b/src/onedb/fsck/marketplaceapp.rb index fd7a3d6ad2..8666b79c76 100644 --- a/src/onedb/fsck/marketplaceapp.rb +++ b/src/onedb/fsck/marketplaceapp.rb @@ -78,7 +78,7 @@ module OneDBFsck @db[:marketplaceapp_pool].where(:oid => id).update(:body => body) end end - elsif !apps_fix.empty? + elsif !@fixes_marketplaceapp.empty? log_msg("^ Marketplace App errors need to be fixed in the master OpenNebula") end end