Skip to content

Commit a87853f

Browse files
committed
removed sprintf
1 parent f8274ff commit a87853f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

receiver/splunkenterprisereceiver/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (c *splunkEntClient) makeRequest(req *http.Request) (*http.Response, error)
164164
case string:
165165
endpointType = t
166166
default:
167-
endpointType = fmt.Sprintf("%v", eptType)
167+
endpointType = fmt.Sprint(eptType)
168168
}
169169

170170
if sc, ok := c.clients[endpointType]; ok {

0 commit comments

Comments
 (0)