From 8454fe391f1b77c35ee5c7253392339d6ed3ecc5 Mon Sep 17 00:00:00 2001 From: xihuwenhua Date: Fri, 22 Aug 2025 15:29:46 +0800 Subject: [PATCH] chore: fix some minor issues in comment Signed-off-by: xihuwenhua --- fstore/deployment.go | 2 +- host/host_internal_test.go | 2 +- node/message.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fstore/deployment.go b/fstore/deployment.go index 7cdca0a8..040786c8 100644 --- a/fstore/deployment.go +++ b/fstore/deployment.go @@ -7,7 +7,7 @@ import ( "github.com/blessnetwork/b7s/models/bls" ) -// updateDeployment info will add some missing information to the deployment info, +// updateDeploymentInfo will add some missing information to the deployment info, // based on the info found in the manifest URL. func updateDeploymentInfo(manifest *bls.FunctionManifest, manifestAddress string) error { diff --git a/host/host_internal_test.go b/host/host_internal_test.go index c9043a56..855b75de 100644 --- a/host/host_internal_test.go +++ b/host/host_internal_test.go @@ -62,7 +62,7 @@ func TestDetermineAddressProtocol(t *testing.T) { shouldErr: true, }, { - // Documenting that we do NOT support support certain things: + // Documenting that we do NOT support certain things: // // While the Domain Name System (DNS) technically supports arbitrary sequences of octets in domain name labels, // the DNS standards recommend the use of the LDH (letter-digit-hyphen) subset of ASCII conventionally used for diff --git a/node/message.go b/node/message.go index a696269d..fc460ba7 100644 --- a/node/message.go +++ b/node/message.go @@ -63,7 +63,7 @@ func (c *core) Send(ctx context.Context, to peer.ID, msg bls.Message) error { return nil } -// sendToMany serializes the message and sends it to a number of peers. `requireAll` dictates how we treat partial errors. +// SendToMany serializes the message and sends it to a number of peers. `requireAll` dictates how we treat partial errors. func (c *core) SendToMany(ctx context.Context, peers []peer.ID, msg bls.Message, requireAll bool) error { opts := new(messageSpanConfig).pipeline(DirectMessagePipeline).peers(peers...).spanOpts()