File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
main/java/com/gojek/feast
test/java/com/gojek/feast Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public static List<FeatureReference> createFeatureRefs(
6161 "Feature id '%s' contains invalid version. Expected format: <project>/<feature-name>:<feature-version>." ,
6262 featureRefString ));
6363 }
64- } else if (projectSplit .length == 1 ) {
64+ } else if (featureSplit .length == 1 ) {
6565 name = featureSplit [0 ];
6666 } else {
6767 throw new IllegalArgumentException (
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ private static Stream<Arguments> provideValidFeatureIds() {
6060 Arrays .asList (
6161 "driver_project/driver_id:1" ,
6262 "driver_project/driver_name:1" ,
63- "booking_project/driver_name:1 " ),
63+ "booking_project/driver_name" ),
6464 Arrays .asList (
6565 FeatureReference .newBuilder ()
6666 .setProject ("driver_project" )
@@ -74,7 +74,6 @@ private static Stream<Arguments> provideValidFeatureIds() {
7474 .build (),
7575 FeatureReference .newBuilder ()
7676 .setProject ("booking_project" )
77- .setVersion (1 )
7877 .setName ("driver_name" )
7978 .build ())));
8079 }
You can’t perform that action at this time.
0 commit comments