Skip to content

Commit 1475131

Browse files
Update crates/stackable-operator/src/validation.rs
Co-authored-by: Siegfried Weber <[email protected]>
1 parent fd13803 commit 1475131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/stackable-operator/src/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use snafu::Snafu;
1919
pub const RFC_1123_LABEL_MAX_LENGTH: usize = 63;
2020
// This is a modified RFC 1123 format according to the Kubernetes specification, see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names
2121
pub const LOWERCASE_RFC_1123_LABEL_FMT: &str = "[a-z0-9]([-a-z0-9]*[a-z0-9])?";
22-
const LOWERCASE_RFC_1123_LABEL_ERROR_MSG: &str = "a lowercase RFC 1123 label must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character";
22+
const LOWERCASE_RFC_1123_LABEL_ERROR_MSG: &str = "a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character";
2323

2424
// This is a RFC 1123 format, see https://www.rfc-editor.org/rfc/rfc1123
2525
const RFC_1123_LABEL_FMT: &str = "[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?";

0 commit comments

Comments
 (0)