Skip to content

Commit 4db4f73

Browse files
committed
flexbeta2 - disk
1 parent 7be13de commit 4db4f73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appengine/flexible/disk/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
runtime: python
2-
vm: true
2+
env: flex
33
entrypoint: gunicorn -b :$PORT main:app
44

55
runtime_config:

appengine/flexible/disk/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def is_ipv6(addr):
3434
# [START example]
3535
@app.route('/')
3636
def index():
37-
instance_id = os.environ.get('GAE_MODULE_INSTANCE', '1')
37+
instance_id = os.environ.get('GAE_INSTANCE', '1')
3838

3939
user_ip = request.remote_addr
4040

0 commit comments

Comments
 (0)