canonical / hotsos

Software analysis toolkit. Define checks in high-level language and leverage library to perform analysis of common Cloud applications.
Apache License 2.0
33 stars 38 forks source link

_BaseProcKeyValue must not raise AttributeError for valid keys #884

Closed dosaboy closed 6 months ago

dosaboy commented 6 months ago

Implementations of the _BaseProcKeyValue base class need to specify which keys they expect to find in the target they are reading so that if not found they dont raise an AttributeError as this gets bubbled up to caller unecessarily.

Resolves: #882