From e5506152c0a27d38fa334b2e338d82ee02669ab9 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 18 Apr 2019 21:43:36 -0700 Subject: refactoring --- weed/topology/cluster_commands.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'weed/topology/cluster_commands.go') diff --git a/weed/topology/cluster_commands.go b/weed/topology/cluster_commands.go index 7a36c25ec..152691ccb 100644 --- a/weed/topology/cluster_commands.go +++ b/weed/topology/cluster_commands.go @@ -3,14 +3,14 @@ package topology import ( "github.com/chrislusf/raft" "github.com/chrislusf/seaweedfs/weed/glog" - "github.com/chrislusf/seaweedfs/weed/storage" + "github.com/chrislusf/seaweedfs/weed/storage/needle" ) type MaxVolumeIdCommand struct { - MaxVolumeId storage.VolumeId `json:"maxVolumeId"` + MaxVolumeId needle.VolumeId `json:"maxVolumeId"` } -func NewMaxVolumeIdCommand(value storage.VolumeId) *MaxVolumeIdCommand { +func NewMaxVolumeIdCommand(value needle.VolumeId) *MaxVolumeIdCommand { return &MaxVolumeIdCommand{ MaxVolumeId: value, } -- cgit v1.2.3