cloud66_agent 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c38dc8b98765dbcd9303528cc6ff8c57013613c1908b259e73c0b17d5f1327c7
4
- data.tar.gz: 930f568ce197cf07f061f026af19231b6050486769450f617049449451b44e50
3
+ metadata.gz: cac912d5113f50c26b0174c161d667ae302b7acfa942ed24cde808f00e9cdd12
4
+ data.tar.gz: c65b8952003bc1555d15cf91e04df56b7886bf8149cb8e6cc0a060dac91bf910
5
5
  SHA512:
6
- metadata.gz: 00c8fa84e68deea570a160aa7aa9eca9286312c35dad0b44e7700a7cb793f753a03f99f1a311be63aa666b918c1c9a1c42f7fc2d174386f9a6482f399cdd47fa
7
- data.tar.gz: affeb9cb1ef085b1db0f8ff18e366b4e7e7af408c6fed305eb637587a46b315a22a9d7b9353288ed6fd741fda2331b16bb2eb7db7f00fb783339772f606c5854
6
+ metadata.gz: 2aa8672ade642376fd8243dd84027e1a3c1d06a49b9213fe70b53a28da1777363df56577f0bb80e1f6e52bc5376e0c63acf88f58c203b0bf923c2ed8c33192a7
7
+ data.tar.gz: 8ad9e4fc3fade51c99456561226ed3fb9b294ea32025d003d5add4cafde3fd64cb410e75b669f7c14f07fab7b55b14d62849239cd77d2143a6e166b51914a08a
@@ -13,7 +13,7 @@ module Cloud66
13
13
  # Defines the minor version
14
14
  # PATCH:
15
15
  # Defines the patch version
16
- MAJOR, MINOR, PATCH = 1, 4, 0
16
+ MAJOR, MINOR, PATCH = 1, 4, 1
17
17
 
18
18
  #ie. PRERELEASE_MODIFIER = 'beta1' or nil
19
19
  PRERELEASE_MODIFIER = nil
@@ -13,8 +13,8 @@ module Cloud66
13
13
 
14
14
  def self.vitals_alerts
15
15
  vitals_alerts = {}
16
- space_alerts = calculate_space_alerts($config.disk_warning_percent, $config.disk_critical_percent)
17
- vitals_alerts[:disk] = space_alerts if space_alerts.present?
16
+ space_alerts = calculate_space_alerts(2, 5)
17
+ vitals_alerts[:disk] = space_alerts if space_alerts && !space_alerts.empty?
18
18
  return vitals_alerts
19
19
  end
20
20
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud66_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloud 66