From bc52284efdcde8df12a3d6d69c71404cc314001e Mon Sep 17 00:00:00 2001 From: Duncan Hall Date: Tue, 13 Jun 2017 16:11:56 +0100 Subject: [PATCH] Provide serializable upstream status --- emcli/commands/toggle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emcli/commands/toggle.py b/emcli/commands/toggle.py index 26d54cf..2c4c903 100644 --- a/emcli/commands/toggle.py +++ b/emcli/commands/toggle.py @@ -24,7 +24,7 @@ def get_upstream_status(self, slice, service, env): status.total_upstreams, status.total_load_balancers ) - self.show_result(status, desc) + self.show_result(status.__dict__, desc) return status def toggle_service_slices(self, service, env):