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

Commit 20dff73

Browse files
committed
Add support for listener-operator (#143)
## Description *Please add a description here. This will become the commit message of the merge request later.*
1 parent 2c9ed5f commit 20dff73

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Added
6+
7+
- Added Listener operator to supported operators ([#143](https://github.com/stackabletech/stackablectl/pull/143))
8+
59
## [0.5.0] - 2022-09-14
610

711
### Added

src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const AVAILABLE_OPERATORS: &[&str] = &[
2424
"hdfs",
2525
"hive",
2626
"kafka",
27+
"listener",
2728
"nifi",
2829
"opa",
2930
"secret",

src/operator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl Operator {
281281
pub fn new(name: String, version: Option<String>) -> Result<Self, String> {
282282
if !AVAILABLE_OPERATORS.contains(&name.as_str()) {
283283
Err(format!(
284-
"The operator {name} does not exist or stackablectl is to old to know the operator"
284+
"The operator {name} does not exist or stackablectl is too old to know the operator"
285285
))
286286
} else {
287287
Ok(Operator { name, version })

0 commit comments

Comments
 (0)