mirror of
https://github.com/versity/versitygw.git
synced 2026-09-21 07:24:29 +00:00
chore: fix spellings and unused function args
No logic changes, just janitorial cleanup
This commit is contained in:
@@ -302,7 +302,7 @@ func TestProcessController(t *testing.T) {
|
||||
expected expected
|
||||
}{
|
||||
{
|
||||
name: "no services successfull response",
|
||||
name: "no services successful response",
|
||||
args: args{
|
||||
svc: &Services{},
|
||||
controller: func(ctx *fiber.Ctx) (*Response, error) {
|
||||
|
||||
@@ -240,7 +240,7 @@ func validateAlgorithm(algo string) error {
|
||||
case algoECDSA:
|
||||
return s3err.QueryAuthErrors.OnlyHMACSupported()
|
||||
default:
|
||||
// all other algorithms are considerd as invalid
|
||||
// all other algorithms are considered as invalid
|
||||
return s3err.QueryAuthErrors.UnsupportedAlgorithm()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -966,7 +966,7 @@ func ConvertToStringPtr[T any](val T) *string {
|
||||
return &str
|
||||
}
|
||||
|
||||
// Converst any pointer to a string pointer
|
||||
// Converts any pointer to a string pointer
|
||||
func ConvertPtrToStringPtr[T any](val *T) *string {
|
||||
if val == nil {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user