Browse Source

print out error message

pull/2/head
Chris Lu 12 years ago
parent
commit
2ca983b6d8
  1. 2
      go/replication/volume_growth.go

2
go/replication/volume_growth.go

@ -187,7 +187,7 @@ func (vg *VolumeGrowth) grow(topo *topology.Topology, vid storage.VolumeId, repT
topo.RegisterVolumeLayout(&vi, server) topo.RegisterVolumeLayout(&vi, server)
fmt.Println("Created Volume", vid, "on", server) fmt.Println("Created Volume", vid, "on", server)
} else { } else {
fmt.Println("Failed to assign", vid, "to", servers)
fmt.Println("Failed to assign", vid, "to", servers, "error", err)
return errors.New("Failed to assign " + vid.String()) return errors.New("Failed to assign " + vid.String())
} }
} }

Loading…
Cancel
Save