From 9445b00f4e6c7ef5291a07f52d11aea39ab77d9a Mon Sep 17 00:00:00 2001 From: daniel-a-nguyen Date: Mon, 26 Aug 2013 18:00:37 -0700 Subject: [PATCH] Fixed cli for root enabled Change-Id: I48e08c15709c51e8112f41cec390dd0e73864f28 Fixes: bug #1216135 --- troveclient/root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troveclient/root.py b/troveclient/root.py index 4940002f..10323d26 100644 --- a/troveclient/root.py +++ b/troveclient/root.py @@ -40,4 +40,4 @@ class Root(base.ManagerWithFind): False otherwise""" resp, body = self.api.client.get(self.url % instance_id) check_for_exceptions(resp, body) - return body['rootEnabled'] + return self.resource_class(self, body, loaded=True)