Remove first body read
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 55s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 55s
This commit is contained in:
parent
3ffdd2e547
commit
11f23aab6c
7
main.go
7
main.go
@ -115,13 +115,6 @@ func main() {
|
|||||||
githubactions.Fatalf(err.Error())
|
githubactions.Fatalf(err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
githubactions.Debugf("Reading response...")
|
|
||||||
resBody, err := io.ReadAll(res.Body)
|
|
||||||
if err != nil {
|
|
||||||
githubactions.Fatalf(err.Error())
|
|
||||||
}
|
|
||||||
|
|
||||||
githubactions.Infof("Response: %v", string(resBody))
|
|
||||||
d := json.NewDecoder(res.Body)
|
d := json.NewDecoder(res.Body)
|
||||||
addResponses := make([]*AddResponse, 0)
|
addResponses := make([]*AddResponse, 0)
|
||||||
for {
|
for {
|
||||||
|
Loading…
Reference in New Issue
Block a user