Browse Source

chore: fix some typos in comments (#5497)

pull/5498/head
yudrywet 8 months ago
committed by GitHub
parent
commit
8833745fbc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      k8s/charts/seaweedfs/README.md
  2. 2
      k8s/charts/seaweedfs/values.yaml
  3. 2
      weed/mq/client/cmd/weed_sub/subscriber.go
  4. 2
      weed/server/filer_server.go
  5. 2
      weed/server/volume_server_handlers.go

4
k8s/charts/seaweedfs/README.md

@ -32,7 +32,7 @@ so your deployment will be spread/HA.
leveldb is the default database, this supports multiple filer replicas that will [sync automatically](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication), with some [limitations](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication#limitation).
When the [limitations](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication#limitation) apply, or for a large number of filer replicas, an external datastore is recommened.
When the [limitations](https://github.com/seaweedfs/seaweedfs/wiki/Filer-Store-Replication#limitation) apply, or for a large number of filer replicas, an external datastore is recommended.
Such as MySQL-compatible database, as specified in the `values.yaml` at `filer.extraEnvironmentVars`.
This database should be pre-configured and initialized by running:
@ -96,7 +96,7 @@ filer:
enabled: true
```
### Enabling Authenticaion to S3
### Enabling Authentication to S3
To enable authentication for S3, you have two options:

2
k8s/charts/seaweedfs/values.yaml

@ -77,7 +77,7 @@ master:
config: |-
# Enter any extra configuration for master.toml here.
# It may be be a multi-line string.
# It may be a multi-line string.
# You may use ANY storage-class, example with local-path-provisioner
# Annotations are optional.

2
weed/mq/client/cmd/weed_sub/subscriber.go

@ -52,7 +52,7 @@ func main() {
})
subscriber.SetCompletionFunc(func() {
glog.V(0).Infof("done recived %d messages", counter)
glog.V(0).Infof("done received %d messages", counter)
})
if err := subscriber.Subscribe(); err != nil {

2
weed/server/filer_server.go

@ -177,7 +177,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
fs.option.recursiveDelete = v.GetBool("filer.options.recursive_delete")
v.SetDefault("filer.options.buckets_folder", "/buckets")
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder")
// TODO deprecated, will be be removed after 2020-12-31
// TODO deprecated, will be removed after 2020-12-31
// replaced by https://github.com/seaweedfs/seaweedfs/wiki/Path-Specific-Configuration
// fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync")
isFresh := fs.filer.LoadConfiguration(v)

2
weed/server/volume_server_handlers.go

@ -97,7 +97,7 @@ func (vs *VolumeServer) privateStoreHandler(w http.ResponseWriter, r *http.Reque
}
}()
// processs uploads
// processes uploads
stats.WriteRequest()
vs.guard.WhiteList(vs.PostHandler)(w, r)

Loading…
Cancel
Save