diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-07-06 14:05:02 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-07-06 14:05:06 +0200 |
commit | d4d12adc58091823800d338128a07665d4178337 (patch) | |
tree | 548033a3361fc3cd22f5f12e3afa7349258cb9b9 /crates/core/tedge_core | |
parent | 692ba07615e4fef386bb27d9b70aa0e7ec957006 (diff) |
Fix: Use plugin kind name instead of instance name
Here, the name of the instance was used to report the error. This is of
course wrong, we need to use the kind name here.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
Diffstat (limited to 'crates/core/tedge_core')
-rw-r--r-- | crates/core/tedge_core/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/tedge_core/src/lib.rs b/crates/core/tedge_core/src/lib.rs index 4263211f..212120bf 100644 --- a/crates/core/tedge_core/src/lib.rs +++ b/crates/core/tedge_core/src/lib.rs @@ -124,7 +124,7 @@ impl TedgeApplication { } else { Err(PluginConfigurationError::UnknownKind( PluginKindUnknownError { - name: plugin_name.to_string(), + name: plugin_cfg.kind().as_ref().to_string(), alternatives: None, }, )) |