sensu-plugins-lxc 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Y2IyZWQ5ZmNiZjQzNDA2N2M1MjczYzlhODM1YmZkZWIzMjgxNjg3Ng==
4
+ ZWFlN2Q4NGRlOTI2MTBlMjE4MzdiNzRiZjAyNzc4NWVkMjFhNzRjMg==
5
5
  data.tar.gz: !binary |-
6
- ZmY1Mjg2Y2QwODljNjllMzU1OWEyYmJjMjQwMWRmYzUwNjY2NTYyNg==
6
+ YjU1NDk0OWE2NDkyYmU0ZDE2ZGM4ZWU5YjIwOGZjNTdmMDdiODcxMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmVjOGVkMWIzNTM3ZTdlODk3NWFjNDRmZTcyMGFhMzM1NDI4OThlYTE5N2U1
10
- NTdiZWFjNGU0ZWNkNWYxNzgwM2Y2YWM3Nzg0YTk4ZGI3NWRjMzY1ZjRlYzU1
11
- ZTQxNjY3MjE2NTFkZjM1OWRjYWM5OGJiYTA2ZjQyY2RmMDJlYTc=
9
+ MjgxZTY1ZDgxZGI1ZjQ3YjY1ZTlkN2U5NTBmMWQ5NGVkODY0ZDliMjQ4NzY4
10
+ Yjg5NjEzMmRmYTM5ZTI3NTA1YmRlY2Y4MDQ5NWQzZmZjOWZiMDI2ZWQwYThl
11
+ YTJiNTVkOGI4OGU0MzFmYTZmNjhlN2FhODUzMzU2ODE0MTEwYzE=
12
12
  data.tar.gz: !binary |-
13
- YzUwNTkyYTk3MzQ3NzU1MmU0N2UzMDk1ZDlkMzYxZmQzODhkZjRlMWNlZTA3
14
- MjRmYjM5MTE1MzQ4ZGVhMWY5YzUwNWFjZDg5ZWZmMzhjYzg3Y2FiMzRjNThj
15
- ZDJmNTU3MzY2MDk2ZDY1YjBmZjI2MGU0YWU1Y2RmMmZmMzY1ZGE=
13
+ MzkxZGI2NDRiNGQzOTY1NjlhNGZhZmJiNDcwMzNkMTFjNTgxODQyOGYxYzNi
14
+ YTQzYWVlMTg3OTAzNjQ4Yjk5NjA3NDkyZmU1MWJiMWZmN2Q3N2QyZTg5N2Qx
15
+ ZjQxYzkyOWY3MDc4ZTcxY2JkZjQ4OTIyZjE2YzJmYzQ0MGY3ZDI=
@@ -5,6 +5,11 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.0.1] - 2016-06-15
9
+ ### Fixed
10
+
11
+ - Actually fixed method missing error by using `LXC::Container` object
12
+
8
13
  ## [1.0.0] - 2016-05-23
9
14
  ### Removed
10
15
  - Ruby 1.9.3 support
@@ -49,7 +49,7 @@ class CheckLXCMemstat < Sensu::Plugin::Check::CLI
49
49
 
50
50
  def run
51
51
  lxc = LXC.new
52
- conn = LXC.container.new(lxc: lxc, name: config[:name].to_s)
52
+ conn = LXC::Container.new(lxc: lxc, name: config[:name].to_s)
53
53
  if conn.exists?
54
54
  if conn.running?
55
55
  used = conn.memory_usage
@@ -39,7 +39,7 @@ class CheckLXCSTATUS < Sensu::Plugin::Check::CLI
39
39
 
40
40
  def run
41
41
  lxc = LXC.new
42
- conn = LXC.container.new(lxc: lxc, name: config[:name].to_s)
42
+ conn = LXC::Container.new(lxc: lxc, name: config[:name].to_s)
43
43
  if conn.exists?
44
44
  if conn.stopped?
45
45
  critical "container #{config[:name]} is Stopped"
@@ -2,7 +2,7 @@ module SensuPluginsLxc
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-lxc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2016-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin