Skip to content

Commit afc8b9f

Browse files
Merge pull request #617 from versity/ben/spelling
chore: fix spelling typos
2 parents 867dadd + cfe367d commit afc8b9f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

aws/signer/v4/functional_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ func TestStandaloneSign(t *testing.T) {
8787

8888
actual := req.Header.Get("Authorization")
8989
if e, a := c.ExpSig, actual; e != a {
90-
t.Errorf("expected %v, but recieved %v", e, a)
90+
t.Errorf("expected %v, but received %v", e, a)
9191
}
9292
if e, a := c.OrigURI, req.URL.Path; e != a {
93-
t.Errorf("expected %v, but recieved %v", e, a)
93+
t.Errorf("expected %v, but received %v", e, a)
9494
}
9595
if e, a := c.EscapedURI, req.URL.EscapedPath(); e != a {
96-
t.Errorf("expected %v, but recieved %v", e, a)
96+
t.Errorf("expected %v, but received %v", e, a)
9797
}
9898
}
9999
}
@@ -127,13 +127,13 @@ func TestStandaloneSign_RawPath(t *testing.T) {
127127

128128
actual := req.Header.Get("Authorization")
129129
if e, a := c.ExpSig, actual; e != a {
130-
t.Errorf("expected %v, but recieved %v", e, a)
130+
t.Errorf("expected %v, but received %v", e, a)
131131
}
132132
if e, a := c.OrigURI, req.URL.Path; e != a {
133-
t.Errorf("expected %v, but recieved %v", e, a)
133+
t.Errorf("expected %v, but received %v", e, a)
134134
}
135135
if e, a := c.EscapedURI, req.URL.EscapedPath(); e != a {
136-
t.Errorf("expected %v, but recieved %v", e, a)
136+
t.Errorf("expected %v, but received %v", e, a)
137137
}
138138
}
139139
}

backend/mkdir.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var (
3030
// Any newly created directory is set to provided uid/gid ownership.
3131
// If path is already a directory, MkdirAll does nothing
3232
// and returns nil.
33-
// Any directoy created will be set to provided uid/gid ownership
33+
// Any directory created will be set to provided uid/gid ownership
3434
// if doChown is true.
3535
func MkdirAll(path string, uid, gid int, doChown bool) error {
3636
// Fast path: if we can tell whether path is a directory or file, stop with success or error.

backend/posix/posix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2524,7 +2524,7 @@ func (p *Posix) PutObjectRetention(_ context.Context, bucket, object, versionId
25242524
}
25252525

25262526
switch lockCfg.Mode {
2527-
// Compliance mode can't be overriden
2527+
// Compliance mode can't be overridden
25282528
case types.ObjectLockRetentionModeCompliance:
25292529
return s3err.GetAPIError(s3err.ErrMethodNotAllowed)
25302530
// To override governance mode user should have "s3:BypassGovernanceRetention" permission

0 commit comments

Comments
 (0)