aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/topology.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/topology/topology.go')
-rw-r--r--weed/topology/topology.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/topology/topology.go b/weed/topology/topology.go
index 3932e3fbb..d704a5636 100644
--- a/weed/topology/topology.go
+++ b/weed/topology/topology.go
@@ -34,8 +34,8 @@ type Topology struct {
Sequence sequence.Sequencer
- chanFullVolumes chan *storage.VolumeInfo
- chanCrowdedVolumes chan *storage.VolumeInfo
+ chanFullVolumes chan storage.VolumeInfo
+ chanCrowdedVolumes chan storage.VolumeInfo
Configuration *Configuration
@@ -57,8 +57,8 @@ func NewTopology(id string, seq sequence.Sequencer, volumeSizeLimit uint64, puls
t.Sequence = seq
- t.chanFullVolumes = make(chan *storage.VolumeInfo)
- t.chanCrowdedVolumes = make(chan *storage.VolumeInfo)
+ t.chanFullVolumes = make(chan storage.VolumeInfo)
+ t.chanCrowdedVolumes = make(chan storage.VolumeInfo)
t.Configuration = &Configuration{}