remove tee
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 56s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 56s
This commit is contained in:
parent
80f88cd69b
commit
ce5aea88b0
4
main.go
4
main.go
@ -91,10 +91,8 @@ func main() {
|
||||
|
||||
body, writer := io.Pipe()
|
||||
|
||||
r := io.TeeReader(body, os.Stdout)
|
||||
|
||||
url := fmt.Sprintf("http://%v:%v/api/v0/add", ipfsHost, ipfsPort)
|
||||
req, err := http.NewRequest(http.MethodPost, url, r)
|
||||
req, err := http.NewRequest(http.MethodPost, url, body)
|
||||
if err != nil {
|
||||
githubactions.Fatalf("Unable to create request: %v", err.Error())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user