Fix variable name error
doc/source/dev/plugin/cdmc-plugin.rst 'collector' should be 'dummy_collector' Change-Id: I2f8f7107faa4b1f707f424b696c9bc3c6d7e22f4
This commit is contained in:
parent
b446f8afd2
commit
068178f12a
@ -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_collector = self.collector_manager.get_cluster_model_collector(
|
||||||
"dummy") # "dummy" is the name of the entry point we declared earlier
|
"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
|
# Do some stuff with this model
|
||||||
|
Loading…
Reference in New Issue
Block a user