This commit is contained in:
shoopea 2020-01-14 12:11:28 +08:00
parent be3ec2d355
commit 3c877b5487

View File

@ -20,7 +20,7 @@ func getLockedRoleClient(role string) (*ChirpClient, error) {
}
}
if len(ids) == 0 {
return nil, errors.New("No %s client.", role)
return nil, errors.New("No client for the role.")
}
RndMux.Lock()