diff options
| author | Ryan Russell <ryanrussell@users.noreply.github.com> | 2022-09-14 12:01:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-14 10:01:18 -0700 |
| commit | d734fff322b48485a1eb9461919d549ce65ce167 (patch) | |
| tree | 85c83d9b530c5e0a2a62887163be9d20ec286637 | |
| parent | dfaa60266156f83118acf9a3c12fa9297fa2e15b (diff) | |
| download | seaweedfs-d734fff322b48485a1eb9461919d549ce65ce167.tar.xz seaweedfs-d734fff322b48485a1eb9461919d549ce65ce167.zip | |
docs: `replicte` -> `replicate` (#3664)
| -rw-r--r-- | weed/replication/sink/filersink/filer_sink.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/replication/sink/filersink/filer_sink.go b/weed/replication/sink/filersink/filer_sink.go index 265f51b55..06c8b1cbc 100644 --- a/weed/replication/sink/filersink/filer_sink.go +++ b/weed/replication/sink/filersink/filer_sink.go @@ -195,7 +195,7 @@ func (fs *FilerSink) UpdateEntry(key string, oldEntry *filer_pb.Entry, newParent // find out what changed deletedChunks, newChunks, err := compareChunks(filer.LookupFn(fs), oldEntry, newEntry) if err != nil { - return true, fmt.Errorf("replicte %s compare chunks error: %v", key, err) + return true, fmt.Errorf("replicate %s compare chunks error: %v", key, err) } // delete the chunks that are deleted from the source @@ -207,7 +207,7 @@ func (fs *FilerSink) UpdateEntry(key string, oldEntry *filer_pb.Entry, newParent // replicate the chunks that are new in the source replicatedChunks, err := fs.replicateChunks(newChunks, key) if err != nil { - return true, fmt.Errorf("replicte %s chunks error: %v", key, err) + return true, fmt.Errorf("replicate %s chunks error: %v", key, err) } existingEntry.Chunks = append(existingEntry.Chunks, replicatedChunks...) existingEntry.Attributes = newEntry.Attributes |
