Fix typos

This commit is contained in:
Dimitris Apostolou
2021-11-12 17:38:06 +02:00
parent e71b88fcaa
commit 197a70c9c4
21 changed files with 29 additions and 29 deletions

View File

@@ -26,7 +26,7 @@ var (
func mockFetcher(getError bool, protocolPercent ...edgediscovery.ProtocolPercent) PercentageFetcher {
return func() (edgediscovery.ProtocolPercents, error) {
if getError {
return nil, fmt.Errorf("failed to fetch precentage")
return nil, fmt.Errorf("failed to fetch percentage")
}
return protocolPercent, nil
}