MSP-5014 Remove unnecessary fmt.Sprintf call
This commit is contained in:
1 parent
befbd51522
commit
043ecd7672
1 file changed
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user