mirror of
https://github.com/telemt/telemt.git
synced 2026-09-20 09:40:33 +03:00
Rustfmt
This commit is contained in:
@@ -199,8 +199,7 @@ pub(super) async fn clear_rules_all_families(
|
||||
let mut removed = false;
|
||||
let table = namespace.nft_table.as_str();
|
||||
for family in [NftFamily::Inet, NftFamily::Ip, NftFamily::Ip6] {
|
||||
match run_command("nft", &["delete", "table", family.as_str(), table], None).await
|
||||
{
|
||||
match run_command("nft", &["delete", "table", family.as_str(), table], None).await {
|
||||
Ok(()) => {
|
||||
removed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user