From 3c877b54879c537d3cb110897f4b6cc1b4f07110 Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 14 Jan 2020 12:11:28 +0800 Subject: [PATCH] fix --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index c4fc402..6974a0e 100644 --- a/client.go +++ b/client.go @@ -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()