// TabletComplete validates and normalizes the tablet. If the shard name // contains a '-' it is going to try to infer the keyrange from it. func TabletComplete(tablet *pb.Tablet) error { shard, kr, err := ValidateShardName(tablet.Shard) if err != nil { return err } tablet.Shard = shard tablet.KeyRange = kr return nil }