Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add hsw drivers to topology and check against AVF
[csit.git]
/
resources
/
libraries
/
python
/
honeycomb
/
HcAPIKwInterfaces.py
diff --git
a/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
b/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
index
e9ef133
..
662fedc
100644
(file)
--- a/
resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
+++ b/
resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
@@
-160,7
+160,7
@@
class InterfaceKeywords(object):
"Not possible to get operational information about the "
"interfaces. Status code: {0}.".format(status_code))
try:
- return resp["interfaces
-state
"]["interface"]
+ return resp["interfaces"]["interface"]
except (KeyError, TypeError):
return []