From be14cab35ca0db80b30e6b982c18aa3c2772a71a Mon Sep 17 00:00:00 2001 From: eberet387 Date: Wed, 6 Aug 2025 09:44:17 +0800 Subject: [PATCH] chore: fix typos --- cmd/bootstrap-limiter/README.md | 2 +- log/hclog/logger.go | 2 +- node/head/execute.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/bootstrap-limiter/README.md b/cmd/bootstrap-limiter/README.md index 24d9b22e..240b060b 100644 --- a/cmd/bootstrap-limiter/README.md +++ b/cmd/bootstrap-limiter/README.md @@ -3,7 +3,7 @@ ## Description This utility is aimed to provide an easy way to setup the system so that a non-privileged user can set resource limits for Bless Functions. -This tool is designed to be run a single time, before runing the Bless Worker Node. +This tool is designed to be run a single time, before running the Bless Worker Node. If the user has no intention of using cgroups to set resource limits, there is no need in running this tool. ## Workaround diff --git a/log/hclog/logger.go b/log/hclog/logger.go index aee355d8..aa674a5f 100644 --- a/log/hclog/logger.go +++ b/log/hclog/logger.go @@ -12,7 +12,7 @@ const ( nameField = "module" ) -// Logger is a zerolog logger that fullfils the `go-hclog` Logger interface. +// Logger is a zerolog logger that fulfils the `go-hclog` Logger interface. type Logger struct { name string logger zerolog.Logger diff --git a/node/head/execute.go b/node/head/execute.go index 253dca8e..cc143875 100644 --- a/node/head/execute.go +++ b/node/head/execute.go @@ -220,7 +220,7 @@ func peerRequestKey(requestID string, peer peer.ID) string { return requestID + "/" + peer.String() } -// helper function just for the sake of readibility. +// helper function just for the sake of readability. func consensusRequired(c cons.Type) bool { return c != 0 }