testing/merge fixes
This commit is contained in:
parent
29e304fa4e
commit
0d2e1a76a2
4 changed files with 20 additions and 6 deletions
|
|
@ -77,10 +77,6 @@ func WebRequest(requestType string, timeout time.Duration, payload map[string]st
|
|||
client := resty.New()
|
||||
client.SetTimeout(timeout * time.Second)
|
||||
client.SetCloseConnection(true)
|
||||
if shared.DEBUG {
|
||||
client.SetDebug(true)
|
||||
}
|
||||
|
||||
result, err := client.R().Get(url)
|
||||
return *result, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue