diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-03-21 21:37:14 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-03-21 21:23:59 +0000 |
commit | c59dbece66cc72b12d5000d8f58a34cd6bf817c8 (patch) | |
tree | 7363ffd736c86329bcf182df152f3131b5b4730c /patches/network-checker/0001-Fixed-typo-in-net-check.patch | |
parent | 0f52c5ccea01691f9138eb540d7554d15070b98d (diff) |
network-check: Typo fix for unknown eth state
Change-Id: If6f9cd6a78e712f53e69b9bbc31002983c7162b1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit d729416c9c8b61142ee5a539e3b740d9d8e19b45)
Diffstat (limited to 'patches/network-checker/0001-Fixed-typo-in-net-check.patch')
-rw-r--r-- | patches/network-checker/0001-Fixed-typo-in-net-check.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/network-checker/0001-Fixed-typo-in-net-check.patch b/patches/network-checker/0001-Fixed-typo-in-net-check.patch new file mode 100644 index 00000000..d1fa45a2 --- /dev/null +++ b/patches/network-checker/0001-Fixed-typo-in-net-check.patch @@ -0,0 +1,24 @@ +From: chko <hkominos> +Date: Tue, 21 Mar 2017 14:51:22 +0100 +Subject: [PATCH] Fixed typo in net-check Closes-Bug:#1674724 + +Change-Id: Ibf35e5ffb1411b998f9ad250b7744c447e16fa71 +Signed-off-by: Charalampos Kominos <hkominos@gmail.com> +(cherry picked from commit e5debec9fe2d8f1a99521594ca3bb10de3bb6d13) +--- + network_checker/net_check/api.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/network_checker/net_check/api.py b/network_checker/net_check/api.py +index defdde0..a4155db 100755 +--- a/network_checker/net_check/api.py ++++ b/network_checker/net_check/api.py +@@ -199,7 +199,7 @@ class Actor(object): + if state.lower() == 'up': + self.logger.debug('Inteface %s is up', check_iface) + return True +- elif state.lower == 'unknown': ++ elif state.lower() == 'unknown': + self.logger.debug('Inteface %s state is unknown, using ethtool', + check_iface) + ethtool_output = self._execute(['ethtool', check_iface]) |