mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-17 23:56:33 -05:00
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user