summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-07-09 15:21:28 +0300
committerSaku Ytti <saku@ytti.fi>2014-07-09 15:21:28 +0300
commit545df707b8fff42a39020409847b59909028ea1f (patch)
tree7e46bd313cb2529332c0102fa8f2f665680caf3d /lib/oxidized
parent97d78e4acf83d5b529a723ba61a454f6daec6b37 (diff)
Require OpenStruct
How this works in ruby2.0 normally? What component has loaded this implicitly? Thanks to @RichiH for spotting.
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/node.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb
index 20aab76..c39bee1 100644
--- a/lib/oxidized/node.rb
+++ b/lib/oxidized/node.rb
@@ -1,5 +1,6 @@
module Oxidized
require 'resolv'
+ require 'ostruct'
require_relative 'node/stats'
class MethodNotFound < OxidizedError; end
class ModelNotFound < OxidizedError; end