a few fixes

This commit is contained in:
Drew Weymouth
2024-06-12 18:08:22 -07:00
parent 280030c858
commit bfb869fadc
2 changed files with 10 additions and 4 deletions
-2
View File
@@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"errors"
"log"
"net"
"net/http"
)
@@ -77,7 +76,6 @@ func (c *Client) sendRequest(path string) error {
resp, err := c.httpC.Get("http://supersonic/" + path)
if err != nil {
log.Printf("http err: %v\n", err)
return err
}
defer resp.Body.Close()