fn validate_group_label(&self) -> Result<()> {
        static VALID_GROUP: &str = "^[a-zA-Z0-9.-]+$";
        lazy_static! {
            static ref VALID_GROUP_REGEX: Regex = Regex::new(VALID_GROUP).unwrap();
        }
        if !VALID_GROUP_REGEX.is_match(&self.group) {
            anyhow::bail!(
                "invalid group label '{}': not conforming to expression '{}'",
                self.group,
                VALID_GROUP
            );
        }
        Ok(())
    }
/// Validate the group label value in current identity.
///
/// Group setting can be transmitted to external backends (Cincinnati and FleetLock).
/// This ensures that label value is compliant to specs regex:
///  - https://coreos.github.io/zincati/development/fleetlock/protocol/#body
Validate the group label value in current identity.
Group setting can be transmitted to external backends (Cincinnati and FleetLock).
Validate the group label value in current identity . Group setting can be transmitted to external backends ( Cincinnati and FleetLock ) .
fn validate_group_label(&self) -> Result<()> {
        static VALID_GROUP: &str = "^[a-zA-Z0-9.-]+$";
        lazy_static! {
            static ref VALID_GROUP_REGEX: Regex = Regex::new(VALID_GROUP).unwrap();
        }
        if !VALID_GROUP_REGEX.is_match(&self.group) {
            anyhow::bail!(
                "invalid group label '{}': not conforming to expression '{}'",
                self.group,
                VALID_GROUP
            );
        }
        Ok(())
    }
fn validate_group_label ( & self ) -> Result < ( ) > { static VALID_GROUP : & str = " " ; lazy_static ! { static ref VALID_GROUP_REGEX Regex Regex new ( VALID_GROUP ) unwrap ( ) } if ! VALID_GROUP_REGEX . is_match ( & self . group ) { anyhow :: bail ! ( " " self group VALID_GROUP ) ; } Ok ( ( ) ) }
Validate the group label value in current identity.
Validate the group label value in current identity .
&self