diff options
-rw-r--r-- | doc/design_diskcache.md | 2 | ||||
-rw-r--r-- | internal/git/proto.go | 2 | ||||
-rw-r--r-- | internal/git/safecmd.go | 2 | ||||
-rw-r--r-- | internal/safe/file_writer.go | 2 | ||||
-rw-r--r-- | internal/service/repository/raw_changes_test.go | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/doc/design_diskcache.md b/doc/design_diskcache.md index 3a04bccaf..b931f6388 100644 --- a/doc/design_diskcache.md +++ b/doc/design_diskcache.md @@ -149,7 +149,7 @@ will give you insight into the performance and behavior of the cache: - [Cache Effectiveness] - `(sum(rate(gitaly_diskcache_requests_total[1m])) - sum(rate(gitaly_diskcache_miss_total[1m]))) / sum(rate(gitaly_diskcache_requests_total[1m]))` - Shows how often the cache is invoked for a hit vs a miss. A value close to - 100% is desireable. + 100% is desirable. - [Cache Errors] - `sum(rate(gitaly_diskcache_errors_total[1m])) by (error)` - Shows edge case errors experienced by the cache. The following errors can diff --git a/internal/git/proto.go b/internal/git/proto.go index dce5408f8..d8d6a5f96 100644 --- a/internal/git/proto.go +++ b/internal/git/proto.go @@ -158,7 +158,7 @@ func SupportsDeltaIslands(versionStr string) (bool, error) { // NoMissingWantErrMessage checks if the git version is before Git 2.22, // in which versions the missing objects in the wants didn't yield an explicit -// error message, but no ouput at all. +// error message, but no output at all. func NoMissingWantErrMessage() bool { ver, err := Version() if err != nil { diff --git a/internal/git/safecmd.go b/internal/git/safecmd.go index da1fa6197..bb98cf7c9 100644 --- a/internal/git/safecmd.go +++ b/internal/git/safecmd.go @@ -227,7 +227,7 @@ func SafeStdinCmd(ctx context.Context, repo repository.GitRepo, globals []Option } // SafeCmdWithoutRepo works like Command but without a git repository. It -// validates the arugments in the command before executing. +// validates the arguments in the command before executing. func SafeCmdWithoutRepo(ctx context.Context, globals []Option, sc SubCmd) (*command.Command, error) { args, err := combineArgs(globals, sc) if err != nil { diff --git a/internal/safe/file_writer.go b/internal/safe/file_writer.go index 5f7e45926..e91b48fad 100644 --- a/internal/safe/file_writer.go +++ b/internal/safe/file_writer.go @@ -46,7 +46,7 @@ func (fw *FileWriter) Write(p []byte) (n int, err error) { // Commit will close the temporary file and rename it to the target file name // the first call to Commit() will close and delete the temporary file, so -// subsequenty calls to Commit() are gauaranteed to return an error. +// subsequently calls to Commit() are gauaranteed to return an error. func (fw *FileWriter) Commit() error { err := ErrAlreadyDone diff --git a/internal/service/repository/raw_changes_test.go b/internal/service/repository/raw_changes_test.go index 1d6fdb1b6..2aafe4f4d 100644 --- a/internal/service/repository/raw_changes_test.go +++ b/internal/service/repository/raw_changes_test.go @@ -344,7 +344,7 @@ func TestGetRawChangesInvalidUTF8Paths(t *testing.T) { testRepoPath, blobID2, nonUTF8Filename, - "hostile extraterrestials won't use UTF", + "hostile extraterrestrials won't use UTF", ) ctx, cancel := testhelper.Context() |