Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.io>
This commit is contained in:
Daniel Clavijo CocaandDaniel Clavijo Coca authored and GitHub committed 2020-06-01 20:11:21 +02:00
1 parent 79c275b1b3
commit a4d7bebca8
1 file changed
-2
-2
View File
@@ -69,7 +69,6 @@ module LXD
stat = File.read(path).to_i
@metrics[:memory] = stat / 1024
rescue StandardError
@metrics[:memory] = 0
end
@@ -88,7 +87,6 @@ module LXD
@metrics[:netrx] = netrx
@metrics[:nettx] = nettx
rescue StandardError
@metrics[:netrx] = 0
@metrics[:nettx] = 0