Skip to main content

validate_agent_name

Function validate_agent_name 

Source
pub fn validate_agent_name(config: &Config, name: &str) -> Result<()>
Expand description

Validate that name matches an agent configured in config.toml. Accepts "-" (the sentinel used to clear the field) without error.