From 068178f12a9f55890146f5b62b936701b4e62531 Mon Sep 17 00:00:00 2001
From: licanwei
Date: Mon, 19 Dec 2016 11:36:41 +0800
Subject: [PATCH] Fix variable name error
doc/source/dev/plugin/cdmc-plugin.rst
'collector' should be 'dummy_collector'
Change-Id: I2f8f7107faa4b1f707f424b696c9bc3c6d7e22f4
---
doc/source/dev/plugin/cdmc-plugin.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/source/dev/plugin/cdmc-plugin.rst b/doc/source/dev/plugin/cdmc-plugin.rst
index 26e015e2d..179c62723 100644
--- a/doc/source/dev/plugin/cdmc-plugin.rst
+++ b/doc/source/dev/plugin/cdmc-plugin.rst
@@ -268,5 +268,5 @@ At this point, you can use your new cluster data model plugin in your
# [...]
dummy_collector = self.collector_manager.get_cluster_model_collector(
"dummy") # "dummy" is the name of the entry point we declared earlier
- dummy_model = collector.get_latest_cluster_data_model()
+ dummy_model = dummy_collector.get_latest_cluster_data_model()
# Do some stuff with this model