Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <[email protected]>
  • Loading branch information
fabriziosestito committed May 7, 2024
1 parent f43d8b2 commit 6cbe77c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/callback_handler/kubernetes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,6 @@ impl Client {
}
}

#[cached(
time = 60,
result = true,
sync_writes = true,
key = "String",
convert = r#"{ format!("list_resources_by_namespace({},{},{},{:?},{:?})", api_version, kind, namespace, label_selector, field_selector) }"#,
with_cached_flag = true
)]
pub(crate) async fn list_resources_by_namespace(
client: Option<&mut Client>,
api_version: &str,
Expand All @@ -222,14 +214,6 @@ pub(crate) async fn list_resources_by_namespace(
.map(cached::Return::new)
}

#[cached(
time = 60,
result = true,
sync_writes = true,
key = "String",
convert = r#"{ format!("list_resources_all({},{}),{:?},{:?}", api_version, kind,label_selector,field_selector) }"#,
with_cached_flag = true
)]
pub(crate) async fn list_resources_all(
client: Option<&mut Client>,
api_version: &str,
Expand Down

0 comments on commit 6cbe77c

Please sign in to comment.