Skip to main content

snapshot_tag_error

Function snapshot_tag_error 

Source
pub fn snapshot_tag_error(key: &str, value: &str) -> Option<String>
Expand description

Why one spec.tags key/value pair is invalid, or None when it is clean.

One predicate, two callers (the shared-validator pattern): the admission validator (validate_snapshot_tags) rejects NEW objects with these reasons, and the controller’s build path defensively SKIPS (warn, never fail) the same keys on already-stored pre-feature objects.