From 59c92b72fc0fb1b54e8b57e5721fe3ef38ff10dd Mon Sep 17 00:00:00 2001 From: peusterm Date: Mon, 18 Apr 2016 17:59:19 +0200 Subject: [PATCH] Fix: I somehow messed up some commits by clicking the "revert" button on the github page. Stupid me. --- src/emuvim/dcemulator/resourcemodel/upb/simple.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/emuvim/dcemulator/resourcemodel/upb/simple.py b/src/emuvim/dcemulator/resourcemodel/upb/simple.py index 1610b6a..a127446 100644 --- a/src/emuvim/dcemulator/resourcemodel/upb/simple.py +++ b/src/emuvim/dcemulator/resourcemodel/upb/simple.py @@ -212,6 +212,8 @@ class UpbSimpleCloudDcRM(BaseResourceModel): r["dc_max_mu"] = self.dc_max_mu r["dc_alloc_cu"] = self.dc_alloc_cu r["dc_alloc_mu"] = self.dc_alloc_mu + r["single_cu_percentage"] = self.single_cu + r["single_mu_percentage"] = self.single_mu r["allocation_state"] = allocation_state return r @@ -244,4 +246,4 @@ class UpbSimpleCloudDcRM(BaseResourceModel): l["rm_state"] = self.get_state_dict() # append to logfile with open(path, "a") as f: - f.write("%s\n" % json.dumps(l)) + f.write("%s\n" % json.dumps(l)) \ No newline at end of file -- 2.25.1