Skip to content

Commit c7c0de9

Browse files
authored
1 parent 2ee9cb0 commit c7c0de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appengine-java11/spanner/src/main/java/com/example/appengine/spanner/SpannerClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void contextInitialized(ServletContextEvent event) {
9494
}
9595
// try system properties
9696
if (INSTANCE_ID == null) {
97-
INSTANCE_ID = System.getProperty("SPANNER_INSTANCE");
97+
INSTANCE_ID = System.getenv("SPANNER_INSTANCE");
9898
}
9999

100100
if (DATABASE_ID == null) {

0 commit comments

Comments
 (0)