Skip to content

Commit 97f4a3a

Browse files
authored
Correct error message for unset GOOGLE_CLOUD_PROJECT. (#2448)
1 parent 69babd7 commit 97f4a3a

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
@@ -1667,8 +1667,8 @@ public static void main(String[] args) throws Exception {
16671667
String clientProject = spanner.getOptions().getProjectId();
16681668
if (!db.getInstanceId().getProject().equals(clientProject)) {
16691669
System.err.println(
1670-
"Invalid project specified. Project in the database id should match"
1671-
+ "the project name set in the environment variable GCLOUD_PROJECT. Expected: "
1670+
"Invalid project specified. Project in the database id should match the"
1671+
+ "project name set in the environment variable GOOGLE_CLOUD_PROJECT. Expected: "
16721672
+ clientProject);
16731673
printUsageAndExit();
16741674
}

0 commit comments

Comments
 (0)