mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-05-03 22:28:33 +00:00
Fix method name
This commit is contained in:
parent
17ce638a78
commit
e0dec54c6a
@ -16,7 +16,7 @@ const (
|
||||
// Get - When err is nil, resp always contains a non-nil resp.Body.
|
||||
// Caller should close resp.Body when done reading from it.
|
||||
func Get(url string, client *http.Client) (*http.Response, error) {
|
||||
req, err := http.NewRequest(http.MethodPost, url, nil)
|
||||
req, err := http.NewRequest(http.MethodGet, url, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user