mirror of https://github.com/usememos/memos.git
chore: fix some typos in comments (#5332)
Signed-off-by: xiaolinny <xiaolincode@outlook.com>
This commit is contained in:
parent
48ce4ccc26
commit
6beb3fcde0
|
|
@ -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
|
||||||
} 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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue