Skip to content

Commit

Permalink
Improve HTTP codes from scale endpoints
Browse files Browse the repository at this point in the history
404 will be returned instead of 500 if a function cannot be
found

421 will be returned (conflict) if the scale handler tries to
update a function and encounters a race condition due to some
other component updating the function

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed May 13, 2024
1 parent b478084 commit e60ca0b
Show file tree
Hide file tree
Showing 16 changed files with 521 additions and 497 deletions.
2 changes: 1 addition & 1 deletion chart/openfaas/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
type: application
description: OpenFaaS - Serverless Functions Made Simple
name: openfaas
version: 14.2.42
version: 14.2.43
sources:
- https://github.com/openfaas/faas
- https://github.com/openfaas/faas-netes
Expand Down
4 changes: 2 additions & 2 deletions chart/openfaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ eventWorker:

# For OpenFaaS Pro and the Function CRD
operator:
image: ghcr.io/openfaasltd/faas-netes:0.5.35
image: ghcr.io/openfaasltd/faas-netes:0.5.37
create: false
logs:
debug: false
Expand Down Expand Up @@ -179,7 +179,7 @@ operator:
pprof: false

faasnetesPro:
image: ghcr.io/openfaasltd/faas-netes:0.5.35
image: ghcr.io/openfaasltd/faas-netes:0.5.37
logs:
debug: false
format: "console"
Expand Down
Binary file modified docs/cron-connector-0.6.10.tgz
Binary file not shown.
Binary file modified docs/federated-gateway-0.1.0.tgz
Binary file not shown.
1,010 changes: 517 additions & 493 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file modified docs/kafka-connector-0.7.9.tgz
Binary file not shown.
Binary file modified docs/mqtt-connector-0.4.7.tgz
Binary file not shown.
Binary file modified docs/nats-connector-0.3.2.tgz
Binary file not shown.
Binary file added docs/openfaas-14.2.43.tgz
Binary file not shown.
Binary file modified docs/postgres-connector-0.1.1.tgz
Binary file not shown.
Binary file modified docs/pro-builder-0.4.13.tgz
Binary file not shown.
Binary file modified docs/queue-worker-0.2.7.tgz
Binary file not shown.
Binary file modified docs/sns-connector-0.1.3.tgz
Binary file not shown.
Binary file modified docs/sqs-connector-0.2.4.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion yaml/alertmanager-dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added yaml/ingress-operator-rbac.yml
Empty file.

0 comments on commit e60ca0b

Please sign in to comment.