remove warning
This commit is contained in:
parent
1cba3790ea
commit
d6011fc200
@ -6,7 +6,6 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
@ -41,10 +40,6 @@ func (c *Client) GetEndpoint(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if _, ok := ctx.Deadline(); !ok {
|
||||
log.Println("CRITICAL CODE ERROR: GetEndpoint", endpoint, "without deadline.")
|
||||
}
|
||||
|
||||
return client.Do(req)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user