diff options
| author | bingoohuang <bingoo.huang@gmail.com> | 2020-05-25 20:45:21 +0800 |
|---|---|---|
| committer | bingoohuang <bingoo.huang@gmail.com> | 2020-05-25 20:45:21 +0800 |
| commit | 16fc3fb1a014a4814a3dd211cdb9e033804ed849 (patch) | |
| tree | 9d06bf929415be6ff5aa69e1bbb6f1045c5b9da9 | |
| parent | 8dfaaeabfd97efff0e17af5cdf5b2d647bdb9b88 (diff) | |
| download | seaweedfs-16fc3fb1a014a4814a3dd211cdb9e033804ed849.tar.xz seaweedfs-16fc3fb1a014a4814a3dd211cdb9e033804ed849.zip | |
fix build error
| -rw-r--r-- | unmaintained/volume_tailer/volume_tailer.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unmaintained/volume_tailer/volume_tailer.go b/unmaintained/volume_tailer/volume_tailer.go index 3c2d36d22..d9220d2de 100644 --- a/unmaintained/volume_tailer/volume_tailer.go +++ b/unmaintained/volume_tailer/volume_tailer.go @@ -9,7 +9,6 @@ import ( "github.com/chrislusf/seaweedfs/weed/security" "github.com/chrislusf/seaweedfs/weed/storage/needle" util2 "github.com/chrislusf/seaweedfs/weed/util" - "github.com/spf13/viper" "golang.org/x/tools/godoc/util" ) @@ -25,7 +24,7 @@ func main() { flag.Parse() util2.LoadConfiguration("security", false) - grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client") + grpcDialOption := security.LoadClientTLS(util2.GetViper(), "grpc.client") vid := needle.VolumeId(*volumeId) |
