aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/server/service/plugin/mkRequestTermination.dhall
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2019-04-26 20:48:05 +0200
committerGitHub <noreply@github.com>2019-04-26 20:48:05 +0200
commit42bbd0c742544050218b898a45d4d5bb6d3177f3 (patch)
tree0883606ca59c0a688c86b29cfde540b0e341db59 /dhall/server/service/plugin/mkRequestTermination.dhall
parentd663610913fab7252d481664172be9e44f607764 (diff)
parent331e852ca9f795818b7dcbb85d782dfff32c4ea2 (diff)
downloadansible-kong-app-42bbd0c742544050218b898a45d4d5bb6d3177f3.tar.gz
ansible-kong-app-42bbd0c742544050218b898a45d4d5bb6d3177f3.tar.zst
ansible-kong-app-42bbd0c742544050218b898a45d4d5bb6d3177f3.zip
Merge pull request #14 from paulrbr-fl/upgrade-dhall-versionv0.8
dhall(upgrade): upgrade code to be compatible with dhall 1.21.0
Diffstat (limited to 'dhall/server/service/plugin/mkRequestTermination.dhall')
-rw-r--r--dhall/server/service/plugin/mkRequestTermination.dhall34
1 files changed, 17 insertions, 17 deletions
diff --git a/dhall/server/service/plugin/mkRequestTermination.dhall b/dhall/server/service/plugin/mkRequestTermination.dhall
index aff538f..1d047d7 100644
--- a/dhall/server/service/plugin/mkRequestTermination.dhall
+++ b/dhall/server/service/plugin/mkRequestTermination.dhall
@@ -1,20 +1,20 @@
1 let Plugin = ./Plugin.dhall 1let Plugin = ./Plugin.dhall
2 2
3in let config = constructors ./Config.dhall 3let config = ./Config.dhall
4 4
5in λ(statusCode : Natural) 5in λ(statusCode : Natural)
6 → λ(contentType : Text) 6 → λ(contentType : Text)
7 → λ(body : Text) 7 → λ(body : Text)
8 → { name = 8 → { name =
9 "request-termination" 9 "request-termination"
10 , config = 10 , config =
11 config.RequestTermination 11 config.RequestTermination
12 { status_code = 12 { status_code =
13 statusCode 13 statusCode
14 , content_type = 14 , content_type =
15 contentType 15 contentType
16 , body = 16 , body =
17 body 17 body
18 } 18 }
19 } 19 }
20 : Plugin 20 : Plugin