Skip to content

Commit

Permalink
Fix wrong variable name in enc function. Fixes GH-693 (#694)
Browse files Browse the repository at this point in the history
Fix wrong variable name in enc function
  • Loading branch information
ahmet2mir authored and ekohl committed Nov 19, 2018
1 parent 15d6844 commit 7728926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/external_node_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7728926

Please sign in to comment.