Skip to content
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
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,9 @@ jobs:
if: env.GITHUB_TOKEN != null
with:
clippy_flags: --all-targets -- -D warnings
reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }}
fail_on_error: true
filter_mode: nofilter
- name: Run clippy manually without annotations
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
include!(concat!(env!("OUT_DIR"), "/built.rs"));
}

pub const APP_PORT: u16 = 8088;
pub const OPERATOR_NAME: &str = "superset.stackable.tech";
// pub const APP_PORT: u16 = 8088;
// pub const OPERATOR_NAME: &str = "superset.stackable.tech";

#[derive(Parser)]
#[clap(about, author)]
Expand Down Expand Up @@ -81,7 +81,7 @@
])?;

let client = stackable_operator::client::initialize_operator(
Some(OPERATOR_NAME.to_string()),

Check failure on line 84 in rust/operator-binary/src/main.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] rust/operator-binary/src/main.rs#L84

error[E0425]: cannot find value `OPERATOR_NAME` in this scope --> rust/operator-binary/src/main.rs:84:22 | 84 | Some(OPERATOR_NAME.to_string()), | ^^^^^^^^^^^^^ not found in this scope
Raw output
rust/operator-binary/src/main.rs:84:22:e:error[E0425]: cannot find value `OPERATOR_NAME` in this scope
  --> rust/operator-binary/src/main.rs:84:22
   |
84 |                 Some(OPERATOR_NAME.to_string()),
   |                      ^^^^^^^^^^^^^ not found in this scope


__END__

Check failure on line 84 in rust/operator-binary/src/main.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] rust/operator-binary/src/main.rs#L84

error[E0425]: cannot find value `OPERATOR_NAME` in this scope --> rust/operator-binary/src/main.rs:84:22 | 84 | Some(OPERATOR_NAME.to_string()), | ^^^^^^^^^^^^^ not found in this scope
Raw output
rust/operator-binary/src/main.rs:84:22:e:error[E0425]: cannot find value `OPERATOR_NAME` in this scope
  --> rust/operator-binary/src/main.rs:84:22
   |
84 |                 Some(OPERATOR_NAME.to_string()),
   |                      ^^^^^^^^^^^^^ not found in this scope


__END__
&cluster_info_opts,
)
.await?;
Expand Down Expand Up @@ -125,7 +125,7 @@
.map(|res| {
report_controller_reconciled(
&client,
&format!("{SUPERSET_CONTROLLER_NAME}.{OPERATOR_NAME}"),

Check failure on line 128 in rust/operator-binary/src/main.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] rust/operator-binary/src/main.rs#L128

error[E0425]: cannot find value `OPERATOR_NAME` in this scope --> rust/operator-binary/src/main.rs:128:63 | 128 | &format!("{SUPERSET_CONTROLLER_NAME}.{OPERATOR_NAME}"), | ^^^^^^^^^^^^^ not found in this scope
Raw output
rust/operator-binary/src/main.rs:128:63:e:error[E0425]: cannot find value `OPERATOR_NAME` in this scope
   --> rust/operator-binary/src/main.rs:128:63
    |
128 |                         &format!("{SUPERSET_CONTROLLER_NAME}.{OPERATOR_NAME}"),
    |                                                               ^^^^^^^^^^^^^ not found in this scope


__END__

Check failure on line 128 in rust/operator-binary/src/main.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] rust/operator-binary/src/main.rs#L128

error[E0425]: cannot find value `OPERATOR_NAME` in this scope --> rust/operator-binary/src/main.rs:128:63 | 128 | &format!("{SUPERSET_CONTROLLER_NAME}.{OPERATOR_NAME}"), | ^^^^^^^^^^^^^ not found in this scope
Raw output
rust/operator-binary/src/main.rs:128:63:e:error[E0425]: cannot find value `OPERATOR_NAME` in this scope
   --> rust/operator-binary/src/main.rs:128:63
    |
128 |                         &format!("{SUPERSET_CONTROLLER_NAME}.{OPERATOR_NAME}"),
    |                                                               ^^^^^^^^^^^^^ not found in this scope


__END__
&res,
)
});
Expand Down Expand Up @@ -186,7 +186,7 @@
.map(|res| {
report_controller_reconciled(
&client,
&format!("{DRUID_CONNECTION_CONTROLLER_NAME}.{OPERATOR_NAME}"),

Check failure on line 189 in rust/operator-binary/src/main.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] rust/operator-binary/src/main.rs#L189

error[E0425]: cannot find value `OPERATOR_NAME` in this scope --> rust/operator-binary/src/main.rs:189:71 | 189 | &format!("{DRUID_CONNECTION_CONTROLLER_NAME}.{OPERATOR_NAME}"), | ^^^^^^^^^^^^^ not found in this scope
Raw output
rust/operator-binary/src/main.rs:189:71:e:error[E0425]: cannot find value `OPERATOR_NAME` in this scope
   --> rust/operator-binary/src/main.rs:189:71
    |
189 |                         &format!("{DRUID_CONNECTION_CONTROLLER_NAME}.{OPERATOR_NAME}"),
    |                                                                       ^^^^^^^^^^^^^ not found in this scope


__END__

Check failure on line 189 in rust/operator-binary/src/main.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] rust/operator-binary/src/main.rs#L189

error[E0425]: cannot find value `OPERATOR_NAME` in this scope --> rust/operator-binary/src/main.rs:189:71 | 189 | &format!("{DRUID_CONNECTION_CONTROLLER_NAME}.{OPERATOR_NAME}"), | ^^^^^^^^^^^^^ not found in this scope
Raw output
rust/operator-binary/src/main.rs:189:71:e:error[E0425]: cannot find value `OPERATOR_NAME` in this scope
   --> rust/operator-binary/src/main.rs:189:71
    |
189 |                         &format!("{DRUID_CONNECTION_CONTROLLER_NAME}.{OPERATOR_NAME}"),
    |                                                                       ^^^^^^^^^^^^^ not found in this scope


__END__
&res,
)
});
Expand Down
Loading