From 6a756136ef253458b8e5beac78af4315f5730016 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 23 Oct 2018 23:59:49 -0700 Subject: [PATCH] go fmt --- weed/replication/sink/azuresink/azure_sink.go | 2 +- weed/server/volume_server_handlers_admin.go | 2 +- weed/server/volume_server_handlers_ui.go | 2 +- weed/stats/memory.go | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/weed/replication/sink/azuresink/azure_sink.go b/weed/replication/sink/azuresink/azure_sink.go index c3652810d..6adbfd75b 100644 --- a/weed/replication/sink/azuresink/azure_sink.go +++ b/weed/replication/sink/azuresink/azure_sink.go @@ -8,11 +8,11 @@ import ( "github.com/Azure/azure-storage-blob-go/azblob" "github.com/chrislusf/seaweedfs/weed/filer2" + "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/replication/sink" "github.com/chrislusf/seaweedfs/weed/replication/source" "github.com/chrislusf/seaweedfs/weed/util" - "github.com/chrislusf/seaweedfs/weed/glog" ) type AzureSink struct { diff --git a/weed/server/volume_server_handlers_admin.go b/weed/server/volume_server_handlers_admin.go index 3e1b27cc4..25b6582f7 100644 --- a/weed/server/volume_server_handlers_admin.go +++ b/weed/server/volume_server_handlers_admin.go @@ -4,9 +4,9 @@ import ( "net/http" "path/filepath" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/chrislusf/seaweedfs/weed/stats" "github.com/chrislusf/seaweedfs/weed/util" - "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ) func (vs *VolumeServer) statusHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/server/volume_server_handlers_ui.go b/weed/server/volume_server_handlers_ui.go index b44044ec5..b3d9a21fd 100644 --- a/weed/server/volume_server_handlers_ui.go +++ b/weed/server/volume_server_handlers_ui.go @@ -5,10 +5,10 @@ import ( "path/filepath" "time" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ui "github.com/chrislusf/seaweedfs/weed/server/volume_server_ui" "github.com/chrislusf/seaweedfs/weed/stats" "github.com/chrislusf/seaweedfs/weed/util" - "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" ) func (vs *VolumeServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) { diff --git a/weed/stats/memory.go b/weed/stats/memory.go index 52bbbe7af..c671efc4d 100644 --- a/weed/stats/memory.go +++ b/weed/stats/memory.go @@ -2,6 +2,7 @@ package stats import ( "runtime" + "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" )