Skip to content

Commit

Permalink
Merge pull request #57651 from miretskiy/backport20.2-57617
Browse files Browse the repository at this point in the history
release-20.2: bulkio: Do not close GCS storage prematurely.
  • Loading branch information
miretskiy authored Dec 7, 2020
2 parents 15a90df + 1076e13 commit 1c815f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ccl/backupccl/create_scheduled_backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ func checkForExistingBackupsInCollection(
if err != nil {
return err
}
defaultStore.Close()
defer defaultStore.Close()

r, err := defaultStore.ReadFile(ctx, latestFileName)
if err == nil {
Expand Down

0 comments on commit 1c815f7

Please sign in to comment.