Unverified Commit 6beb3fcd authored by xiaolinny's avatar xiaolinny Committed by GitHub

chore: fix some typos in comments (#5332)

Signed-off-by: 's avatarxiaolinny <xiaolincode@outlook.com>
parent 48ce4ccc
...@@ -187,7 +187,7 @@ func TestChainSkipIfStillRunning(t *testing.T) { ...@@ -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 {
......
...@@ -321,7 +321,7 @@ func SaveAttachmentBlob(ctx context.Context, profile *profile.Profile, stores *s ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment