Skip to content

Commit 46d6d61

Browse files
chore: use consts
1 parent 2cbc4a9 commit 46d6d61

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/resources.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ use kube::{
99
use schemars::JsonSchema;
1010
use serde::{Deserialize, Serialize};
1111

12-
static FORCE_DELETE_ANNOTATION: &str = "sinker.influxdata.io/force-delete";
13-
static DISABLE_TARGET_DELETION_ANNOTATION: &str = "sinker.influxdata.io/disable-target-deletion";
14-
pub static ALLOWED_NAMESPACES_ANNOTATION: &str = "sinker.influxdata.io/allowed-namespaces";
12+
pub const FORCE_DELETE_ANNOTATION: &str = "sinker.influxdata.io/force-delete";
13+
pub const DISABLE_TARGET_DELETION_ANNOTATION: &str = "sinker.influxdata.io/disable-target-deletion";
14+
pub const ALLOWED_NAMESPACES_ANNOTATION: &str = "sinker.influxdata.io/allowed-namespaces";
1515

1616
impl ResourceSync {
1717
fn get_boolean_annotation_val(&self, annotation: &str) -> bool {

0 commit comments

Comments
 (0)