Skip to content

Commit 261f254

Browse files
committed
Fix error message for wrong scheme in GCS location
1 parent 0c25fe5 commit 261f254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/trino-filesystem-gcs/src/main/java/io/trino/filesystem/gcs/GcsLocation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ record GcsLocation(Location location)
2828

2929
requireNonNull(location, "location");
3030
checkArgument(location.scheme().isPresent(), "No scheme for GCS location: %s", location);
31-
checkArgument(location.scheme().get().equals("gs"), "Wrong scheme for S3 location: %s", location);
31+
checkArgument(location.scheme().get().equals("gs"), "Wrong scheme for GCS location: %s", location);
3232
checkArgument(location.host().isPresent(), "No bucket for GCS location: %s", location);
3333
checkArgument(location.userInfo().isEmpty(), "GCS location contains user info: %s", location);
3434
checkArgument(location.port().isEmpty(), "GCS location contains port: %s", location);

0 commit comments

Comments
 (0)