mirror of
https://github.com/versity/versitygw.git
synced 2026-09-20 15:04:27 +00:00
chore: fix spellings and unused function args
No logic changes, just janitorial cleanup
This commit is contained in:
@@ -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