Skip to content

Commit e685678

Browse files
chore: typos
1 parent b5d1de9 commit e685678

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/restResources/support.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,21 +381,21 @@ func compareAny(a any, b any) (bool, error) {
381381
case string:
382382
sa, ok := a.(string)
383383
if !ok {
384-
return false, fmt.Errorf("Type assertion failed - to string: %v", a)
384+
return false, fmt.Errorf("type assertion failed - to string: %v", a)
385385
}
386386
sb, ok := b.(string)
387387
if !ok {
388-
return false, fmt.Errorf("Type assertion failed - to string: %v", b)
388+
return false, fmt.Errorf("type assertion failed - to string: %v", b)
389389
}
390390
return sa == sb, nil
391391
case bool:
392392
ba, ok := a.(bool)
393393
if !ok {
394-
return false, fmt.Errorf("Type assertion failed - to bool: %v", a)
394+
return false, fmt.Errorf("type assertion failed - to bool: %v", a)
395395
}
396396
bb, ok := b.(bool)
397397
if !ok {
398-
return false, fmt.Errorf("Type assertion failed - to bool: %v", b)
398+
return false, fmt.Errorf("type assertion failed - to bool: %v", b)
399399
}
400400
return ba == bb, nil
401401
default:

0 commit comments

Comments
 (0)