[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

This commit is contained in:
reltuk
2022-08-15 20:08:47 +00:00
parent 661bd1ea96
commit 2fd8b5f1dd
2 changed files with 6 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ func (gcc *gcCopier) addChunk(ctx context.Context, c CompressedChunk) error {
return gcc.writer.AddCmpChunk(c)
}
func (gcc *gcCopier) copyTablesToDir(ctx context.Context, destDir string) (ts []tableSpec, err error) {
func (gcc *gcCopier) copyTablesToDir(ctx context.Context, destDir string) (ts []tableSpec, err error) {
var filename string
filename, err = gcc.writer.Finish()
if err != nil {

View File

@@ -1339,7 +1339,6 @@ func (nbs *NomsBlockStore) WriteTableFile(ctx context.Context, fileId string, nu
return errors.New("Not implemented")
}
tn, err := func() (n string, err error) {
var r io.ReadCloser
r, _, err = getRd()
@@ -1366,12 +1365,12 @@ func (nbs *NomsBlockStore) WriteTableFile(ctx context.Context, fileId string, nu
}
}()
_, err = io.Copy(temp, r)
if err != nil {
return "", err
}
_, err = io.Copy(temp, r)
if err != nil {
return "", err
}
return temp.Name(), nil
return temp.Name(), nil
}()
if err != nil {
return err