chore: fix some typos in comments (#5332)

Signed-off-by: xiaolinny <xiaolincode@outlook.com>
This commit is contained in:
xiaolinny 2025-12-11 07:50:16 +08:00 committed by GitHub
parent 48ce4ccc26
commit 6beb3fcde0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ func TestChainSkipIfStillRunning(t *testing.T) {
}() }()
// After 5ms, the first job is still in progress, and the second job was // After 5ms, the first job is still in progress, and the second job was
// aleady skipped. // already skipped.
time.Sleep(5 * time.Millisecond) time.Sleep(5 * time.Millisecond)
started, done := j.Started(), j.Done() started, done := j.Started(), j.Done()
if started != 1 || done != 0 { if started != 1 || done != 0 {

View File

@ -321,7 +321,7 @@ func SaveAttachmentBlob(ctx context.Context, profile *profile.Profile, stores *s
} else if instanceStorageSetting.StorageType == storepb.InstanceStorageSetting_S3 { } else if instanceStorageSetting.StorageType == storepb.InstanceStorageSetting_S3 {
s3Config := instanceStorageSetting.S3Config s3Config := instanceStorageSetting.S3Config
if s3Config == nil { 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) s3Client, err := s3.NewClient(ctx, s3Config)
if err != nil { if err != nil {