diff --git a/CHANGELOG.md b/CHANGELOG.md index 829eb4b0..0bbfa201 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Added + +- Added Listener operator to supported operators ([#143](https://github.com/stackabletech/stackablectl/pull/143)) + ## [0.5.0] - 2022-09-14 ### Added diff --git a/src/main.rs b/src/main.rs index ec69fb1b..4eac73dd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,6 +24,7 @@ const AVAILABLE_OPERATORS: &[&str] = &[ "hdfs", "hive", "kafka", + "listener", "nifi", "opa", "secret", diff --git a/src/operator.rs b/src/operator.rs index 7b8db62c..3b00bd75 100644 --- a/src/operator.rs +++ b/src/operator.rs @@ -281,7 +281,7 @@ impl Operator { pub fn new(name: String, version: Option) -> Result { if !AVAILABLE_OPERATORS.contains(&name.as_str()) { Err(format!( - "The operator {name} does not exist or stackablectl is to old to know the operator" + "The operator {name} does not exist or stackablectl is too old to know the operator" )) } else { Ok(Operator { name, version })