From dd322a106ab9bde720b20f7a3c4187f3f6dad939 Mon Sep 17 00:00:00 2001 From: cloudclaim <824973921@qq.com> Date: Fri, 7 Jun 2024 16:01:56 +0800 Subject: [PATCH] chore: make function comments match function names Signed-off-by: cloudclaim <824973921@qq.com> --- internal/database/sqlcommon/provider_sqlitego_test.go | 2 +- internal/identity/identitymanager.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/database/sqlcommon/provider_sqlitego_test.go b/internal/database/sqlcommon/provider_sqlitego_test.go index 78fee5016c..24a5014762 100644 --- a/internal/database/sqlcommon/provider_sqlitego_test.go +++ b/internal/database/sqlcommon/provider_sqlitego_test.go @@ -46,7 +46,7 @@ type sqliteGoTestProvider struct { capabilities *database.Capabilities } -// newTestProvider creates a real in-memory database provider for e2e testing +// newSQLiteTestProvider creates a real in-memory database provider for e2e testing func newSQLiteTestProvider(t *testing.T) (*sqliteGoTestProvider, func()) { conf := config.RootSection("unittest.db") conf.AddKnownKey("url", "test") diff --git a/internal/identity/identitymanager.go b/internal/identity/identitymanager.go index 18757ff8ad..a537f6759c 100644 --- a/internal/identity/identitymanager.go +++ b/internal/identity/identitymanager.go @@ -201,7 +201,7 @@ func (im *identityManager) ResolveInputVerifierRef(ctx context.Context, inputKey }, nil } -// ResolveInputIdentity takes in blockchain signing input information from an API call (which may +// ResolveInputSigningIdentity takes in blockchain signing input information from an API call (which may // include author or key or both), and updates it with fully resolved and normalized values func (im *identityManager) ResolveInputSigningIdentity(ctx context.Context, signerRef *core.SignerRef) (err error) { log.L(ctx).Debugf("Resolving identity input: key='%s' author='%s'", signerRef.Key, signerRef.Author)