monasca-api/monasca_api/common
Joseph Davis d6852ee1b7 Detect missing metric_id before passing through bytearray()
It is possible for a row in Cassandra to have a missing metric_id
(shows as 'null' in cqlsh).  This causes an ugly NoneType error
to be passed up to the user on the command line for
'monaca metric-list'.

Fix is to detect the missing value, log an error, and return the
row with None for the metric_id.

Change-Id: Ie617932c6b12a6cfe441510e120bb77a3470b9cf
Story: 2005305
Task: 30194
2019-03-26 14:17:18 -07:00
..
messaging Remove unused exception 2019-01-14 12:53:28 +01:00
repositories Detect missing metric_id before passing through bytearray() 2019-03-26 14:17:18 -07:00
__init__.py Updated for Falcon 0.2 and clean-up 2015-06-06 21:47:03 -06:00