Skip to main content

update_existing

Function update_existing 

Source
fn update_existing(
    mstore: &Store,
    broker: &Broker,
    existing: AgentDefinition,
    cmd: &CommandAgentDefineData,
    provider: &str,
    create_stub: bool,
    now: i64,
) -> Result<AgentDefineResult, String>
Expand description

if_exists=update on an existing definition: overwrite only the fields the caller gave.