Stuff
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 1m19s

This commit is contained in:
Alexandre Bruyant 2024-01-06 21:57:37 +01:00
parent ecd319f629
commit 44b7876f7a

14
main.go
View File

@ -96,15 +96,19 @@ func main() {
return fmt.Errorf("error copying %s (%d bytes written): %v", relativeParh, written, err)
}
if err := mwriter.Close(); err != nil {
return err
}
return nil
})
if err != nil {
githubactions.Fatalf("Unable to create request body : %v", fmt.Errorf("%w", err))
githubactions.Fatalf("Unable to create request body: %v", fmt.Errorf("%w", err))
}
if err := mwriter.Close(); err != nil {
githubactions.Fatalf("Unable to close multipart writer: %v", fmt.Errorf("%w", err))
}
if err := writer.Close(); err != nil {
githubactions.Fatalf("Unable to close writer: %v", fmt.Errorf("%w", err))
}
}()