mirror of
https://github.com/openfaas/faas.git
synced 2025-06-13 02:36:46 +00:00
fixed whitespace for the python example
Signed-off-by: Michael Herman <hermanmu@gmail.com>
This commit is contained in:
parent
4cc51adffb
commit
024c1e1b7a
@ -71,8 +71,8 @@ You can generate new functions using the FaaS-CLI and built-in templates or use
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
def handle(req):
|
def handle(req):
|
||||||
r = requests.get(req, timeout = 1)
|
r = requests.get(req, timeout = 1)
|
||||||
print(req +" => " + str(r.status_code))
|
print(req +" => " + str(r.status_code))
|
||||||
```
|
```
|
||||||
*handler.py*
|
*handler.py*
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ The deployment guide for Docker Swarm contains a simple one-line command to get
|
|||||||
|
|
||||||
OpenFaaS is Kubernetes-native - you can follow the [deployment guide here](https://github.com/openfaas/faas/blob/master/guide/deployment_k8s.md).
|
OpenFaaS is Kubernetes-native - you can follow the [deployment guide here](https://github.com/openfaas/faas/blob/master/guide/deployment_k8s.md).
|
||||||
|
|
||||||
The new login feature breaks the one-click deployment to PWD.
|
The new login feature breaks the one-click deployment to PWD.
|
||||||
**Docker Playground**
|
**Docker Playground**
|
||||||
|
|
||||||
You can quickly start OpenFaaS on Docker Swarm online using the community-run Docker playground: play-with-docker.com (PWD) by clicking the button below:
|
You can quickly start OpenFaaS on Docker Swarm online using the community-run Docker playground: play-with-docker.com (PWD) by clicking the button below:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user