From a2abd1844b05682b47b51ef85df198683ff4b03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Thu, 10 Feb 2022 14:56:26 +0100 Subject: Rename PluginBuilder::name to kind_name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes it clearer on what name refers to here. As both in the config and in the plugin builder you'd have a 'name' property. Renaming this to 'kind name' makes it clear which part it refers to. Signed-off-by: Marcel Müller Signed-off-by: Matthias Beyer --- crates/core/tedge_api/examples/heartbeat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/core/tedge_api/examples/heartbeat.rs') diff --git a/crates/core/tedge_api/examples/heartbeat.rs b/crates/core/tedge_api/examples/heartbeat.rs index 7776e488..cac8b973 100644 --- a/crates/core/tedge_api/examples/heartbeat.rs +++ b/crates/core/tedge_api/examples/heartbeat.rs @@ -10,7 +10,7 @@ struct HeartbeatServiceBuilder; #[async_trait] impl PluginBuilder for HeartbeatServiceBuilder { - fn name(&self) -> &'static str { + fn kind_name(&self) -> &'static str { todo!() } -- cgit v1.2.3