Fixed: Mixed indentation

master
aristocratos 2022-03-06 14:43:09 +01:00
parent 930e6eac1e
commit 2a29b9fc50
1 changed files with 2 additions and 2 deletions

View File

@ -3540,8 +3540,8 @@ class NetCollector(Collector):
if not cls.nics: cls.nics = [""]
cls.nic = cls.nics[cls.nic_i]
if cls.net_iface and cls.net_iface in cls.nics:
cls.nic = cls.net_iface
cls.nic_i = cls.nics.index(cls.nic)
cls.nic = cls.net_iface
cls.nic_i = cls.nics.index(cls.nic)
@classmethod