change data center id from integer to string

This commit is contained in:
Chris Lu 2012-08-23 23:35:30 -07:00
parent 9b4ce65882
commit 869a6711bc

View file

@ -2,7 +2,7 @@ package topology
import () import ()
type DataCenterId uint32 type DataCenterId string
type DataCenter struct { type DataCenter struct {
Id DataCenterId Id DataCenterId
racks map[RackId]*Rack racks map[RackId]*Rack