Small fix to client.go

This commit is contained in:
Daniel Wang 2015-03-04 15:44:58 -08:00
parent d83ccd2feb
commit 9ff931f934
1 changed files with 1 additions and 2 deletions

View File

@ -63,9 +63,8 @@ func printFeature(client pb.RouteGuideClient, point *pb.Point) {
feature, err := client.GetFeature(context.Background(), point)
if err != nil {
log.Fatalf("%v.GetFeatures(_) = _, %v: ", client, err)
} else {
log.Println(feature)
}
log.Println(feature)
}
// printFeatures lists all the features within the given bounding Rectangle.