From 54182d0a1a1c3f2aa8425ecc36ead103d2ba3ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Olav=20L=C3=B8ite?= Date: Mon, 18 Sep 2023 07:15:51 +0200 Subject: [PATCH] docs: add missing 's' in fully qualified name in error message --- .../cloud/spanner/pgadapter/metadata/OptionsMetadata.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java b/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java index 36109ce96c..b9cc3f30fd 100644 --- a/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java +++ b/src/main/java/com/google/cloud/spanner/pgadapter/metadata/OptionsMetadata.java @@ -827,7 +827,8 @@ public DatabaseName getDatabaseName(String database) { throw SpannerExceptionFactory.newSpannerException( ErrorCode.FAILED_PRECONDITION, "The database name does not include an instance ID, and there is no default instance ID in the command line arguments of PGAdapter. " - + "Either start PGAdapter with the -i command line argument, or specify the database as a fully qualified database name in the format 'projects/my-project/instances/my-instance/database/my-database'."); + + "Either start PGAdapter with the -i command line argument, or specify the database as a fully qualified database " + + "name in the format 'projects/my-project/instances/my-instance/databases/my-database'."); } databaseName = DatabaseName.newBuilder()