MSP-5014 Remove unnecessary fmt.Sprintf call

This commit is contained in:
Синельник Тимур Романович committed 2025-03-21 10:08:25 +03:00
1 parent befbd51522
commit 043ecd7672
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ func CheckPath(pathObject string) (string, error) {
continue continue
} }
if key == 1 { if key == 1 {
pathObject = fmt.Sprintf("%s", value) pathObject = value
continue continue
} }
pathObject = fmt.Sprintf("%s.%s", pathObject, value) pathObject = fmt.Sprintf("%s.%s", pathObject, value)