From eba6e59fe9b3cf0b9e794f10c17485f4b33d6892 Mon Sep 17 00:00:00 2001 From: Noam Bloom Date: Thu, 6 Oct 2016 12:34:10 +0000 Subject: [PATCH] all_tenants flag default value to false Change-Id: Idca1ea5a82f55639fe9d2a993226e061836ec41e --- vitrageclient/v1/alarm.py | 2 +- vitrageclient/v1/rca.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vitrageclient/v1/alarm.py b/vitrageclient/v1/alarm.py index 9c893c4..dee8c85 100644 --- a/vitrageclient/v1/alarm.py +++ b/vitrageclient/v1/alarm.py @@ -17,7 +17,7 @@ class Alarm(object): def __init__(self, api): self.api = api - def list(self, vitrage_id, all_tenants): + def list(self, vitrage_id, all_tenants='0'): """Get a all alarms on entity :param vitrage_id: the id for the entity diff --git a/vitrageclient/v1/rca.py b/vitrageclient/v1/rca.py index 0368796..7c54ca5 100644 --- a/vitrageclient/v1/rca.py +++ b/vitrageclient/v1/rca.py @@ -17,7 +17,7 @@ class Rca(object): def __init__(self, api): self.api = api - def get(self, alarm_id, all_tenants): + def get(self, alarm_id, all_tenants='0'): """Get RCA for an alarm :param alarm_id: the id of the alarm