From 64881af0c8a8e0198ecaef73acccca5a6d7b6a0a Mon Sep 17 00:00:00 2001 From: guangwu Date: Sat, 29 Jul 2023 07:07:57 +0800 Subject: [PATCH] chore: unnecessary use of fmt.Sprintf (#2610) Signed-off-by: guoguangwu --- internal/store/leaf/recipients.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/store/leaf/recipients.go b/internal/store/leaf/recipients.go index b3a4872ca1..d7f96c11f8 100644 --- a/internal/store/leaf/recipients.go +++ b/internal/store/leaf/recipients.go @@ -398,7 +398,7 @@ func (s *Store) UpdateExportedPublicKeys(ctx context.Context, rs []string) (bool } if exported && ctxutil.IsGitCommit(ctx) { - if err := s.storage.Commit(ctx, fmt.Sprintf("Updated exported Public Keys")); err != nil { + if err := s.storage.Commit(ctx, "Updated exported Public Keys"); err != nil { switch { case errors.Is(err, store.ErrGitNothingToCommit): debug.Log("nothing to commit: %s", err)