From 29106c49f45d6e497f06886134f8c365d52272fc Mon Sep 17 00:00:00 2001 From: Ahmet DEMIR Date: Mon, 19 Nov 2018 17:05:21 +0100 Subject: [PATCH] Fix wrong variable name in enc function. Fixes GH-693 --- files/external_node_v2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/external_node_v2.rb b/files/external_node_v2.rb index 166edf3b3..6b09985db 100644 --- a/files/external_node_v2.rb +++ b/files/external_node_v2.rb @@ -202,7 +202,7 @@ def enc(certname) response = http.request(req) unless response.code == "200" - raise "Error retrieving node #{certname}: #{res.class}\nCheck Foreman's /var/log/foreman/production.log for more information." + raise "Error retrieving node #{certname}: #{response.class}\nCheck Foreman's /var/log/foreman/production.log for more information." end response.body end