Skip to content

Commit 4f55144

Browse files
dzlier-gcpolavloite
authored andcommitted
Correct error message for unset GOOGLE_CLOUD_PROJECT. (GoogleCloudPlatform#2448)
1 parent 29294d0 commit 4f55144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spanner/cloud-client/src/main/java/com/example/spanner/SpannerSample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,8 +1715,8 @@ public static void main(String[] args) throws Exception {
17151715
String clientProject = spanner.getOptions().getProjectId();
17161716
if (!db.getInstanceId().getProject().equals(clientProject)) {
17171717
System.err.println(
1718-
"Invalid project specified. Project in the database id should match"
1719-
+ "the project name set in the environment variable GCLOUD_PROJECT. Expected: "
1718+
"Invalid project specified. Project in the database id should match the"
1719+
+ "project name set in the environment variable GOOGLE_CLOUD_PROJECT. Expected: "
17201720
+ clientProject);
17211721
printUsageAndExit();
17221722
}

0 commit comments

Comments
 (0)