From 6beb3fcde069ed8a995ec57d8fcb62f77bfdf7e2 Mon Sep 17 00:00:00 2001 From: xiaolinny Date: Thu, 11 Dec 2025 07:50:16 +0800 Subject: [PATCH] chore: fix some typos in comments (#5332) Signed-off-by: xiaolinny --- plugin/cron/chain_test.go | 2 +- server/router/api/v1/attachment_service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/cron/chain_test.go b/plugin/cron/chain_test.go index 55d99adb6..04ae6ccfd 100644 --- a/plugin/cron/chain_test.go +++ b/plugin/cron/chain_test.go @@ -187,7 +187,7 @@ func TestChainSkipIfStillRunning(t *testing.T) { }() // After 5ms, the first job is still in progress, and the second job was - // aleady skipped. + // already skipped. time.Sleep(5 * time.Millisecond) started, done := j.Started(), j.Done() if started != 1 || done != 0 { diff --git a/server/router/api/v1/attachment_service.go b/server/router/api/v1/attachment_service.go index 1c82a5a84..ab5149237 100644 --- a/server/router/api/v1/attachment_service.go +++ b/server/router/api/v1/attachment_service.go @@ -321,7 +321,7 @@ func SaveAttachmentBlob(ctx context.Context, profile *profile.Profile, stores *s } else if instanceStorageSetting.StorageType == storepb.InstanceStorageSetting_S3 { s3Config := instanceStorageSetting.S3Config if s3Config == nil { - return errors.Errorf("No actived external storage found") + return errors.Errorf("No activated external storage found") } s3Client, err := s3.NewClient(ctx, s3Config) if err != nil {