summaryrefslogtreecommitdiff
path: root/post.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-30 18:10:55 -0500
committerJeff Carr <[email protected]>2024-10-30 18:10:55 -0500
commit123f64f56c480c9b40eb88010fe91701c33de0af (patch)
treefd723c46f10d206e1bc551bcc33e6c1952af0e52 /post.go
parent97e8fb3fed8e39c8f9c51df331945c1217d317bd (diff)
events are in cluster.E
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'post.go')
-rw-r--r--post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.go b/post.go
index ccdfb11..08c487d 100644
--- a/post.go
+++ b/post.go
@@ -28,7 +28,7 @@ func httpPost(url string, data []byte) ([]byte, error) {
resp, err := client.Do(req)
if err != nil {
log.Error(err)
- return nil, err
+ return []byte("client.Do(req) error"), err
}
defer resp.Body.Close()