refactoring only

This commit is contained in:
Chris Lu committed 2012-08-23 19:10:55 -07:00
1 parent 10c2a4540e
commit 5caa7bbdc9
3 files changed
+11 -14

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@ import (
"math/rand"
"os"
"path"
"pkg/storage"
"pkg/topology"
"strconv"
"sync"
)
@@ -22,7 +22,7 @@ type MachineInfo struct {
}
type Machine struct {
Server MachineInfo
Volumes []storage.VolumeInfo
Volumes []topology.VolumeInfo
}
type Mapper struct {
@@ -41,7 +41,7 @@ type Mapper struct {
volumeSizeLimit uint64
}
func NewMachine(server, publicUrl string, volumes []storage.VolumeInfo) *Machine {
func NewMachine(server, publicUrl string, volumes []topology.VolumeInfo) *Machine {
return &Machine{Server: MachineInfo{Url: server, PublicUrl: publicUrl}, Volumes: volumes}
}