onesnooper-server 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onesnooper_server/sql_store.rb +2 -2
- data/lib/onesnooper_server/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01f1ae82991565bbc54d357c7f56a52e01d6a493
|
4
|
+
data.tar.gz: 9b0a7f57c37cc1e27070ac5c8d9c1f831fa05a67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01dfada0d5bde06a121d869f7c6de9ecca3c064b784479639a50601111f396b9f85d55a9c883aa0e7782def249f949bd681ce18ea8f041c16681bb1a06ddc0e1
|
7
|
+
data.tar.gz: 0ca39c08ef780ea2a472d74754ec7ba6dc73c4568a5dd8c81010eeb5d622aa6b44a67c6db86cf941e8075a7e8b827e41d949122a4e8de19c53b88413e6ee8a30
|
@@ -15,7 +15,7 @@ class OnesnooperServer::SqlStore < ::OnesnooperServer::Store
|
|
15
15
|
if insert_data = data_in_vm_groups(timestamp, data)
|
16
16
|
@db_conn[SQL_TABLE_NAME].multi_insert(insert_data)
|
17
17
|
else
|
18
|
-
::OnesnooperServer::Log.
|
18
|
+
::OnesnooperServer::Log.debug "[#{self.class.name}] Skipping SQL INSERT for an empty dataset"
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
@@ -57,7 +57,7 @@ private
|
|
57
57
|
:host_used_memory => data['USEDMEMORY'],
|
58
58
|
:one_version => data['VERSION'],
|
59
59
|
}
|
60
|
-
end
|
60
|
+
end unless data['VM'].blank?
|
61
61
|
|
62
62
|
data_ary.empty? ? nil : data_ary
|
63
63
|
end
|