summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2013-10-26 02:32:51 -0700
committerytti <saku@ytti.fi>2013-10-26 02:32:51 -0700
commitf2acb9455edae1bc1c80de28af2362da9da206bf (patch)
tree3c92898daade43cdbbec317c07c2073b2a40e730 /lib/oxidized/model
parent4455a5b91accda5da7c1b8128cb045c7eb7bb5da (diff)
parent7982a7d3956910406e59952e1b215d5b4dd1d8e5 (diff)
Merge pull request #8 from nopedial/master
ascii/json output initial differentiation
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/ironware.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index 3dd9ef2..e501f76 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -16,6 +16,7 @@ class IronWare < Oxidized::Model
end
cmd 'show chassis' do |cfg|
+ cfg.gsub! "\xFF", '' # ugly hack - avoids JSON.dump utf-8 breakage on 1.9..
comment cfg
end