Browse Source

Removed unused library import

pull/1540/head
Gaspare Iengo 5 years ago
parent
commit
9e754036ce
  1. 2
      docker/Dockerfile.go_build
  2. 1
      test/s3/multipart/aws_upload.go
  3. 1
      weed/command/filer_copy.go
  4. 1
      weed/filesys/filehandle.go

2
docker/Dockerfile.go_build

@ -1,7 +1,7 @@
FROM frolvlad/alpine-glibc as builder
RUN apk add git go g++
RUN mkdir -p /go/src/github.com/chrislusf/
RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs
RUN git clone --depth 1 https://github.com/Dando-Real-ITA/seaweedfs -b develop /go/src/github.com/chrislusf/seaweedfs
RUN cd /go/src/github.com/chrislusf/seaweedfs/weed && go install
FROM alpine AS final

1
test/s3/multipart/aws_upload.go

@ -6,7 +6,6 @@ import (
"bytes"
"flag"
"fmt"
"net/http"
"os"
"github.com/aws/aws-sdk-go/aws"

1
weed/command/filer_copy.go

@ -5,7 +5,6 @@ import (
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"os"
"path/filepath"

1
weed/filesys/filehandle.go

@ -5,7 +5,6 @@ import (
"fmt"
"io"
"math"
"net/http"
"os"
"sync"
"time"

Loading…
Cancel
Save