src/server/pkg/obj/minio_client.go
func (w *minioWriter) Close() error {
	span, _ := tracing.AddSpanToAnyExisting(w.ctx, "minioWriter.Close")
	defer tracing.FinishAnySpan(span)
	if err := w.pipe.Close(); err != nil {
		return err
	}
	return <-w.errChan
}
func (w *minioWriter) Close() error {
	span, _ := tracing.AddSpanToAnyExisting(w.ctx, "minioWriter.Close")
	defer tracing.FinishAnySpan(span)
	if err := w.pipe.Close(); err != nil {
		return err
	}
	return <-w.errChan
}
func ( w * minioWriter ) Close ( ) error { span , _ := tracing . AddSpanToAnyExisting ( w . ctx , " " ) defer tracing . FinishAnySpan ( span ) if err := w . pipe . Close ( ) ; err != nil { return err } return <- w . errChan }
// This will block till upload is done
This will block till upload is done