hpe-container-platform-community / hpecp-python-library

Python library for working with HPE Container Platform (Prototype)
https://hpe-container-platform-community.github.io/hpecp-python-library/index.html
MIT License
15 stars 4 forks source link

catalog list KeyError: 'documentation' #247

Closed snowch closed 4 years ago

snowch commented 4 years ago
2020-08-15 22:04:56,746 - base.py - HPECP_CLI - DEBUG - Traceback (most recent call last):
  File "/Users/christophersnow/Library/Python/3.8/lib/python/site-packages/hpecp/cli/base.py", line 103, in intercept_exception
    return wrapped(*args, **kwargs)
  File "/Users/christophersnow/Library/Python/3.8/lib/python/site-packages/hpecp/cli/base.py", line 317, in print_list
    print(list_instance.tabulate(columns=columns))
  File "/Users/christophersnow/Library/Python/3.8/lib/python/site-packages/hpecp/base_resource.py", line 507, in tabulate
    if not hasattr(resource, col):
  File "/Users/christophersnow/Library/Python/3.8/lib/python/site-packages/hpecp/catalog.py", line 118, in documentation_checksum
    return self.json["documentation"]["checksum"]
KeyError: 'documentation'
snowch commented 4 years ago

Fixed by: https://github.com/hpe-container-platform-community/hpecp-python-library/commit/6bd13e0423ae43724f0ae04f5674beec6e74cc3f