| Index: client/cmd/isolate/exp_archive.go
|
| diff --git a/client/cmd/isolate/exp_archive.go b/client/cmd/isolate/exp_archive.go
|
| index cfd8d5f78e5e99faa3f08b8ac960cc9b905d077a..974ca00e2e02b6369a87948a95ad782d4b391c4f 100644
|
| --- a/client/cmd/isolate/exp_archive.go
|
| +++ b/client/cmd/isolate/exp_archive.go
|
| @@ -98,6 +98,17 @@ func (c *expArchiveRun) main() error {
|
| archiver := NewTarringArchiver(checker, uploader)
|
|
|
| isolSummary, err := archiver.Archive(archiveOpts)
|
| +
|
| + // Make sure that all pending items have been checked.
|
| + if err := checker.Close(); err != nil {
|
| + return err
|
| + }
|
| +
|
| + // Make sure that all the uploads have completed successfully.
|
| + if err := uploader.Close(); err != nil {
|
| + return err
|
| + }
|
| +
|
| printSummary(isolSummary)
|
| if c.dumpJSON != "" {
|
| f, err := os.OpenFile(c.dumpJSON, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644)
|
|
|