Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshrayas committed Jan 9, 2025
1 parent 99fb2d6 commit 49135c9
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/downscaler/resource/deployment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pub struct Deploy<'a> {
pub(crate) is_uptime: bool,
}


#[allow(clippy::needless_lifetimes)]
impl<'a> Deploy<'a> {
pub fn new(expression: &'a str, replicas: Option<i32>, is_uptime: bool) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/downscaler/resource/hpa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pub struct Hpa<'a> {

impl JMSExpression for HorizontalPodAutoscaler {}


#[allow(clippy::needless_lifetimes)]
impl<'a> Hpa<'a> {
pub fn new(expression: &'a str, replicas: Option<i32>, is_uptime: bool) -> Self {
Expand Down
1 change: 0 additions & 1 deletion src/downscaler/resource/namespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ pub struct Nspace<'a> {
pub(crate) is_uptime: bool,
}


#[allow(clippy::needless_lifetimes)]
impl<'a> Nspace<'a> {
pub fn new(expression: &'a str, replicas: Option<i32>, is_uptime: bool) -> Self {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/slack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async fn slack_msg_null_org() {
let retu = s.send_slack_msg().await;
assert_eq!(
retu.unwrap_err().to_string(),
"Reqwest Error: builder error: invalid domain character"
"Reqwest Error: builder error"
);
}

Expand Down

0 comments on commit 49135c9

Please sign in to comment.