aboutsummaryrefslogtreecommitdiff
path: root/go/topology/volume_growth.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/topology/volume_growth.go')
-rw-r--r--go/topology/volume_growth.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/go/topology/volume_growth.go b/go/topology/volume_growth.go
index b1f241990..6124c0da2 100644
--- a/go/topology/volume_growth.go
+++ b/go/topology/volume_growth.go
@@ -30,6 +30,10 @@ type VolumeGrowth struct {
accessLock sync.Mutex
}
+func (o *VolumeGrowOption) String() string {
+ return fmt.Sprintf("Collection:%s, ReplicaPlacement:%v, Ttl:%v, DataCenter:%s, Rack:%s, DataNode:%s", o.Collection, o.ReplicaPlacement, o.Ttl, o.DataCenter, o.Rack, o.DataNode)
+}
+
func NewDefaultVolumeGrowth() *VolumeGrowth {
return &VolumeGrowth{}
}