Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

[Merged by Bors] - Add support for listener-operator #143

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const AVAILABLE_OPERATORS: &[&str] = &[
"hdfs",
"hive",
"kafka",
"listener",
"nifi",
"opa",
"secret",
Expand Down
2 changes: 1 addition & 1 deletion src/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl Operator {
pub fn new(name: String, version: Option<String>) -> Result<Self, String> {
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 })
Expand Down