From 45f944aa33fd87c588c0af4abb49d3b349f0d9b5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 28 Feb 2020 17:05:26 -0600 Subject: [PATCH] mgr/orch: no extra whitespace in stored json specs Signed-off-by: Sage Weil --- src/pybind/mgr/orchestrator/_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/orchestrator/_interface.py b/src/pybind/mgr/orchestrator/_interface.py index f24a7b36d95..cba4748bc1e 100644 --- a/src/pybind/mgr/orchestrator/_interface.py +++ b/src/pybind/mgr/orchestrator/_interface.py @@ -1585,7 +1585,7 @@ class ServiceSpec(object): def to_json(self): return json.dumps(self, default=lambda o: o.__dict__, - sort_keys=True, indent=4) + sort_keys=True) def __repr__(self): return "{}({!r})".format(self.__class__.__name__, self.__dict__) -- 2.39.5