mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix Migrator path
This commit is contained in:
parent
13f69b5aed
commit
79ea9e6e01
@ -104,7 +104,7 @@ class OneDB
|
||||
|
||||
migrator_version = version + 1
|
||||
result = nil
|
||||
file = "#{LIB_LOCATION}/onedb/#{migrator_version}.rb"
|
||||
file = "#{RUBY_LIB_LOCATION}/onedb/#{migrator_version}.rb"
|
||||
|
||||
if File.exists?(file) &&
|
||||
(max_version == nil || migrator_version <= max_version)
|
||||
@ -137,7 +137,7 @@ class OneDB
|
||||
puts "" if ops[:verbose]
|
||||
|
||||
migrator_version += 1
|
||||
file = "#{LIB_LOCATION}/onedb/#{migrator_version}.rb"
|
||||
file = "#{RUBY_LIB_LOCATION}/onedb/#{migrator_version}.rb"
|
||||
end
|
||||
|
||||
# Modify db_versioning table
|
||||
|
Loading…
x
Reference in New Issue
Block a user