From 251ad35c8bec06360d66997227594449b82bd8e9 Mon Sep 17 00:00:00 2001 From: chenke Date: Fri, 2 Aug 2019 16:29:57 +0800 Subject: [PATCH] Remove stale comment in method execute() The code associated with virtual has been removed before, and the relevant comments should be removed here. Change-Id: I7104c1a6752ad0b8c9837a643e51b0a13194a81b --- watcher/decision_engine/model/collector/nova.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/watcher/decision_engine/model/collector/nova.py b/watcher/decision_engine/model/collector/nova.py index 5ae73befe..88e4909f8 100644 --- a/watcher/decision_engine/model/collector/nova.py +++ b/watcher/decision_engine/model/collector/nova.py @@ -480,11 +480,8 @@ class NovaModelBuilder(base.BaseModelBuilder): return update_flag def execute(self, model_scope): - """Instantiates the graph with the openstack cluster data. + """Instantiates the graph with the openstack cluster data.""" - The graph is populated along 2 layers: virtual and physical. As each - new layer is built connections are made back to previous layers. - """ updata_model_flag = self._check_model_scope(model_scope) if self.model is None or updata_model_flag: self.model = self.model or model_root.ModelRoot()