Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit d5728c1

Browse files
gregwaozarov
authored andcommitted
Fix #277 default to global ticket (#285)
default to global ticket
1 parent 7c2aba4 commit d5728c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appengine-managed-runtime/src/main/java/com/google/apphosting/vmruntime/VmApiProxyEnvironment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public static VmApiProxyEnvironment createFromHeaders(
379379
final String instance = getEnvOrMetadata(envMap, cache, INSTANCE_KEY, INSTANCE_ATTRIBUTE);
380380
final String affinity = getEnvOrMetadata(envMap, cache, AFFINITY_ENV_KEY, AFFINITY_ATTRIBUTE);
381381
final String ticket =
382-
getSystemPropertyOrEnvBoolean(envMap, USE_GLOBAL_TICKET_KEY, false)
382+
getSystemPropertyOrEnvBoolean(envMap, USE_GLOBAL_TICKET_KEY, true)
383383
? null
384384
: request.getHeader(TICKET_HEADER);
385385
final String email = request.getHeader(EMAIL_HEADER);

0 commit comments

Comments
 (0)