Browse Source

fix test

pull/922/head
Chris Lu 6 years ago
parent
commit
0bd7ced7c2
  1. 2
      weed/topology/volume_growth_test.go

2
weed/topology/volume_growth_test.go

@ -101,7 +101,7 @@ func setup(topologyLayout string) *Topology {
Version: storage.CurrentVersion} Version: storage.CurrentVersion}
server.AddOrUpdateVolume(vi) server.AddOrUpdateVolume(vi)
} }
server.UpAdjustMaxVolumeCountDelta(int(serverMap["limit"].(float64)))
server.UpAdjustMaxVolumeCountDelta(int64(serverMap["limit"].(float64)))
} }
} }
} }

Loading…
Cancel
Save