Skip to content

Commit 02ff526

Browse files
committed
Fixing flask
1 parent d56e575 commit 02ff526

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker_quickstart.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
from flask import Flask
23
app = Flask(__name__)
34

@@ -10,11 +11,11 @@ def hello_fargate():
1011
return 'Hello Fargate!'
1112

1213
@app.route('/ec2')
13-
def hello_fargate():
14+
def hello_ec2():
1415
return 'Hello ECS on EC2!'
1516

1617
@app.route('/anotherec2')
17-
def hello_fargate():
18+
def hello_anotherec2():
1819
return 'Hello another ECS service on EC2!'
1920

2021
if __name__ == '__main__':

0 commit comments

Comments
 (0)