chore: fix spellings and unused function args

No logic changes, just janitorial cleanup
This commit is contained in:
Ben McClelland
2026-04-15 10:32:14 -07:00
parent 393477aafd
commit 2b918d585e
12 changed files with 21 additions and 19 deletions
+1 -1
View File
@@ -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()
}
}
+1 -1
View File
@@ -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