Skip to content

Commit

Permalink
v0.5.5 - memory-solaris-fix-typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wilhelm committed Jan 26, 2014
2 parents 1f6650c + 681354e commit 9c8138f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.5.5

* collectors/memory - bugfix: cmd+interval strong typing

# 0.5.4

* collectors/zfs - zpool health & space collector
Expand Down
2 changes: 1 addition & 1 deletion collectors/memory/memory
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Panoptimon::Util.os('-option' => config,
},
solaris: ->() {
cmd = ['kstat', '-p', '-m', 'unix', '-n', '/system_pages|vminfo/']
cmd.push(config[:interval]) if config.include?(:interval)
cmd.push(config[:interval].to_s) if config.include?(:interval)

pagesize = `pagesize`.chomp.to_i/1024.0 or raise "no pagesize"
paged = ->(i) {
Expand Down
2 changes: 1 addition & 1 deletion lib/panoptimon/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2012-2014 Cisco, Inc.

module Panoptimon
VERSION = "0.5.4"
VERSION = "0.5.5"
end

0 comments on commit 9c8138f

Please sign in to comment.