mv pb to master_pb

This commit is contained in:
Chris Lu
2018-05-09 23:11:54 -07:00
parent 57c5405657
commit 942c2cbd7b
9 changed files with 59 additions and 59 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"sort"
"github.com/chrislusf/seaweedfs/weed/pb"
"github.com/chrislusf/seaweedfs/weed/pb/master_pb"
)
type VolumeInfo struct {
@@ -20,7 +20,7 @@ type VolumeInfo struct {
ReadOnly bool
}
func NewVolumeInfo(m *pb.VolumeInformationMessage) (vi VolumeInfo, err error) {
func NewVolumeInfo(m *master_pb.VolumeInformationMessage) (vi VolumeInfo, err error) {
vi = VolumeInfo{
Id: VolumeId(m.Id),
Size: m.Size,