mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 05:42:57 +03:00
Disable hide zero function by default because it is under developement...
This commit is contained in:
parent
d82376230d
commit
7bcf1f3bae
7
NEWS.rst
7
NEWS.rst
@ -9,6 +9,13 @@ This version is under development.
|
||||
|
||||
Please have a look on the roadmap: https://github.com/nicolargo/glances/milestone/47
|
||||
|
||||
Version 3.1.6.2
|
||||
===============
|
||||
|
||||
Bugs corrected:
|
||||
|
||||
* Remove bad merge for a non tested feature(see https://github.com/nicolargo/glances/issues/1787#issuecomment-774682954)
|
||||
|
||||
Version 3.1.6.1
|
||||
===============
|
||||
|
||||
|
@ -53,7 +53,8 @@ class Plugin(GlancesPlugin):
|
||||
# We want to display the stat in the curse interface
|
||||
self.display_curse = True
|
||||
# Hide stats if it has never been != 0
|
||||
self.hide_zero = True
|
||||
self.hide_zero = config.get_bool_value(
|
||||
self.plugin_name, 'hide_zero', default=False)
|
||||
self.hide_zero_fields = ['read_bytes', 'write_bytes']
|
||||
|
||||
def get_key(self):
|
||||
|
@ -62,7 +62,8 @@ class Plugin(GlancesPlugin):
|
||||
# We want to display the stat in the curse interface
|
||||
self.display_curse = True
|
||||
# Hide stats if it has never been != 0
|
||||
self.hide_zero = True
|
||||
self.hide_zero = config.get_bool_value(
|
||||
self.plugin_name, 'hide_zero', default=False)
|
||||
self.hide_zero_fields = ['rx', 'tx']
|
||||
|
||||
def get_key(self):
|
||||
|
Loading…
Reference in New Issue
Block a user