fix removing of remotes
we have to save the remote config after removing the section Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
013fa7bbcb
commit
9857472211
|
@ -269,6 +269,8 @@ pub fn delete_remote(name: String, digest: Option<String>) -> Result<(), Error>
|
||||||
None => bail!("remote '{}' does not exist.", name),
|
None => bail!("remote '{}' does not exist.", name),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
remote::save_config(&config)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue