mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
feature #696: Fix Sunstone requires
This commit is contained in:
parent
79b04d2f6e
commit
fbf9c94e49
@ -32,7 +32,6 @@ $: << RUBY_LIB_LOCATION+"/acct"
|
||||
require 'yaml'
|
||||
|
||||
require 'OpenNebula'
|
||||
require 'sequel'
|
||||
require 'watch_helper'
|
||||
|
||||
CONF = YAML.load_file(ACCTD_CONF)
|
||||
@ -115,7 +114,6 @@ if CONF[:ACCOUNTING_STEPS] > 0
|
||||
watcher.add(accounting, CONF[:ACCOUNTING_STEPS], vm_pool)
|
||||
end
|
||||
|
||||
|
||||
step = 0
|
||||
loop do
|
||||
start_time = Time.now
|
||||
|
@ -1,5 +1,5 @@
|
||||
module OneWatchClient
|
||||
require 'watch_helper'
|
||||
require 'acct/watch_helper'
|
||||
|
||||
class WatchClient
|
||||
def vm_monitoring(id, opts=[])
|
||||
|
@ -1,4 +1,5 @@
|
||||
module WatchHelper
|
||||
require 'sequel'
|
||||
require 'yaml'
|
||||
|
||||
ONE_LOCATION=ENV["ONE_LOCATION"]
|
||||
|
@ -17,7 +17,7 @@
|
||||
require 'OpenNebulaJSON'
|
||||
include OpenNebulaJSON
|
||||
|
||||
require 'acct/WatchClient'
|
||||
require 'acct/watch_client'
|
||||
|
||||
class SunstoneServer
|
||||
def initialize(username, password)
|
||||
|
Loading…
x
Reference in New Issue
Block a user