aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/server/service/plugin/mkIPRestriction.dhall
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2019-04-26 18:06:35 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2019-04-26 20:42:35 +0200
commit331e852ca9f795818b7dcbb85d782dfff32c4ea2 (patch)
tree0883606ca59c0a688c86b29cfde540b0e341db59 /dhall/server/service/plugin/mkIPRestriction.dhall
parentd663610913fab7252d481664172be9e44f607764 (diff)
downloadansible-kong-app-331e852ca9f795818b7dcbb85d782dfff32c4ea2.tar.gz
ansible-kong-app-331e852ca9f795818b7dcbb85d782dfff32c4ea2.tar.zst
ansible-kong-app-331e852ca9f795818b7dcbb85d782dfff32c4ea2.zip
dhall(upgrade): upgrade code to be compatible with dhall 1.21.0
Diffstat (limited to 'dhall/server/service/plugin/mkIPRestriction.dhall')
-rw-r--r--dhall/server/service/plugin/mkIPRestriction.dhall16
1 files changed, 8 insertions, 8 deletions
diff --git a/dhall/server/service/plugin/mkIPRestriction.dhall b/dhall/server/service/plugin/mkIPRestriction.dhall
index f803769..a27e5d9 100644
--- a/dhall/server/service/plugin/mkIPRestriction.dhall
+++ b/dhall/server/service/plugin/mkIPRestriction.dhall
@@ -1,11 +1,11 @@
1 let Plugin = ./Plugin.dhall 1let Plugin = ./Plugin.dhall
2 2
3in let config = constructors ./Config.dhall 3let config = ./Config.dhall
4 4
5in λ(whiteList : Text) 5in λ(whiteList : Text)
6 → { name = 6 → { name =
7 "ip-restriction" 7 "ip-restriction"
8 , config = 8 , config =
9 config.IPRestriction { whitelist = whiteList } 9 config.IPRestriction { whitelist = whiteList }
10 } 10 }
11 : Plugin 11 : Plugin