diff --git a/internal/link/link.go b/internal/link/link.go index e6a66d3f0..b843ff431 100644 --- a/internal/link/link.go +++ b/internal/link/link.go @@ -439,7 +439,9 @@ EOSQL if err != nil { return err } - f.Write(diffBytes) + if _, err := f.Write(diffBytes); err != nil { + return err + } if err := f.Close(); err != nil { return err diff --git a/internal/utils/utils.go b/internal/utils/utils.go index cd8b922c5..15d0f606f 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -247,6 +247,7 @@ func DockerRemoveAll() { }); err != nil { // TODO: Handle errors // fmt.Fprintln(os.Stderr, err) + _ = err } wg.Done()