File tree Expand file tree Collapse file tree
crates/stackable-operator/src/v2/builder/pod Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ use crate::{
1717} ;
1818
1919/// Pattern for an escaped dollar sign (`$$`)
20- static ESCAPED_DOLLAR_SIGN_PATTERN : LazyLock < Regex > =
21- LazyLock :: new ( || Regex :: new ( r"\$\$" ) . expect ( "should be a valid regular expression" ) ) ;
20+ static ESCAPED_DOLLAR_SIGN_PATTERN : LazyLock < Regex > = LazyLock :: new ( || {
21+ Regex :: new ( r"\$\$" ) . expect ( "static string must be a valid regular expression" )
22+ } ) ;
2223
2324/// Pattern for a referenced environment variable, e.g. `$(ENV_VAR)`
24- static REFERENCED_ENV_VARS_PATTERN : LazyLock < Regex > =
25- LazyLock :: new ( || Regex :: new ( r"\$\(([^\)]+)\)" ) . expect ( "should be a valid regular expression" ) ) ;
25+ static REFERENCED_ENV_VARS_PATTERN : LazyLock < Regex > = LazyLock :: new ( || {
26+ Regex :: new ( r"\$\(([^\)]+)\)" ) . expect ( "static string must be a valid regular expression" )
27+ } ) ;
2628
2729/// Maximum depth to which references between environment variables are followed
2830const ENV_VAR_DEPENDENCY_RESOLVER_MAX_RECURSION_DEPTH : usize = 10 ;
You can’t perform that action at this time.
0 commit comments