F #4913: use memoize to fetch summary

This commit is contained in:
Jaime Melis committed 2017-02-21 17:23:19 +01:00
1 parent 30ad6b67fd
commit d996614539
1 file changed
+1 -1
@@ -61,7 +61,7 @@ class Storage
include Memoize
def monitor
summary = @item.summary
summary = self['summary']
total_mb = (summary.capacity.to_i / 1024) / 1024
free_mb = (summary.freeSpace.to_i / 1024) / 1024