summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
authornopedial <shafez@ike-2.local>2013-10-26 00:16:19 +0200
committernopedial <shafez@ike-2.local>2013-10-26 00:16:19 +0200
commita85509f5e288c9ccc70400f2ce93842e57a1af23 (patch)
treefdb221f5cfbb1c2d205742dbf1f5d53c4505f08e /lib/oxidized/model/ironware.rb
parent056ecb1a94d24085497d1baa304645390052e50b (diff)
add fetch API to git output
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-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