From 3dafe3527e6ad17c7cbf2155fa88f0f5350f67ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se>
Date: Mon, 23 Oct 2023 23:37:51 +0200
Subject: [PATCH] Fix dispatch.

---
 lib/puppet/functions/percent_escape.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/puppet/functions/percent_escape.rb b/lib/puppet/functions/percent_escape.rb
index 713985b..112a1fc 100644
--- a/lib/puppet/functions/percent_escape.rb
+++ b/lib/puppet/functions/percent_escape.rb
@@ -13,7 +13,7 @@ Puppet::Functions.create_function(:percent_escape) do
   #   The string to encode
   # @return
   #   The string percent encoded.
-  dispatch :percent do
+  dispatch :percent_escape do
     param 'String', :string
   end
 
-- 
GitLab