Browse Source

Fixed typo in net-check

Closes-Bug:#1674724

Change-Id: Ibf35e5ffb1411b998f9ad250b7744c447e16fa71
Signed-off-by: Charalampos Kominos <hkominos@gmail.com>
chko 2 years ago
parent
commit
e5debec9fe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      network_checker/net_check/api.py

+ 1
- 1
network_checker/net_check/api.py View File

@@ -199,7 +199,7 @@ class Actor(object):
199 199
         if state.lower() == 'up':
200 200
             self.logger.debug('Inteface %s is up', check_iface)
201 201
             return True
202
-        elif state.lower == 'unknown':
202
+        elif state.lower() == 'unknown':
203 203
             self.logger.debug('Inteface %s state is unknown, using ethtool',
204 204
                               check_iface)
205 205
             ethtool_output = self._execute(['ethtool', check_iface])

Loading…
Cancel
Save