mirror of
https://github.com/minio/minio.git
synced 2026-11-17 14:56:19 +00:00
Renaming AppendUstr to AppendUniqStr
This commit is contained in:
1 parent
81ede6c3fe
commit
32f8c17174
2 files changed
+3
-3
No files matched your search
@@ -40,7 +40,7 @@ func AppendUniqInt(slice []int, i int) []int {
|
||||
return append(slice, i)
|
||||
}
|
||||
|
||||
func AppendUstr(slice []string, i string) []string {
|
||||
func AppendUniqStr(slice []string, i string) []string {
|
||||
for _, ele := range slice {
|
||||
if ele == i {
|
||||
return slice
|
||||
|
||||
Reference in new issue
Block a user