cephfs: adding unit test for fetchID

Signed-off-by: Riya Singhal <rsinghal@redhat.com>
This commit is contained in:
Riya Singhal
2023-09-26 02:18:21 +05:30
committed by mergify[bot]
parent b8e74e62c0
commit d925937d53
2 changed files with 38 additions and 1 deletions

View File

@ -224,7 +224,6 @@ func (ac *activeClient) fetchID() (int, error) {
}
return 0, fmt.Errorf("failed to extract client ID, incorrect format: %s", clientInfo)
}
// AddClientEviction blocks access for all the IPs in the CIDR block