Browse Source

Return empty list on getting fire actions if it is not there

Michael James Hoppal 3 years ago
parent
commit
344ebd68d5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      monasca_events_api/v2/stream_definitions.py

+ 1
- 1
monasca_events_api/v2/stream_definitions.py View File

@@ -467,7 +467,7 @@ def get_query_stream_definition_fire_actions(stream_definition,
467 467
         if return_none:
468 468
             return None
469 469
         else:
470
-            return ''
470
+            return []
471 471
 
472 472
 
473 473
 def get_query_stream_definition_expire_actions(stream_definition,

Loading…
Cancel
Save