Skip to content

Commit a3f8f53

Browse files
author
Markus Benkenstein
authored
Merge pull request #7 from aboutsource/feature/parse_new_version_string
parse new minio version string
2 parents 93be08b + d55c6b6 commit a3f8f53

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
sensu-plugins-minio (0.0.6)
4+
sensu-plugins-minio (0.0.7)
55
sensu-plugin (~> 2.1)
66

77
GEM

bin/check-minio-update.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ def local_version
8282
raise IOError, "Unable to gather local minio version: #{stderr}"
8383
end
8484

85-
stdout.split.last
85+
stdout.lines.first.split.last
8686
end
8787
end

lib/sensu/plugins/minio/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Sensu
44
module Plugins
55
module Minio
6-
VERSION = '0.0.6'
6+
VERSION = '0.0.7'
77
end
88
end
99
end

0 commit comments

Comments
 (0)