Skip to content

Commit

Permalink
Hotfix ping http GET response log
Browse files Browse the repository at this point in the history
  • Loading branch information
demdxx committed Nov 22, 2024
1 parent 6a4ef38 commit bfd95dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/ping/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (p *pingStream) Put(ctx context.Context, msg message.Message) error {
nUrl = "http:" + nUrl
}
if p.method == http.MethodGet {
_, err = p.httpClient.Get(nUrl)
resp, err = p.httpClient.Get(nUrl)
} else {
resp, err = p.httpClient.Post(nUrl, p.contentType, strings.NewReader(msg.JSON()))
}
Expand Down

0 comments on commit bfd95dd

Please sign in to comment.