Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor authored and modular-magician committed Dec 6, 2019
1 parent 5115ba7 commit db1a5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/ansible/resource.erb
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ def <%= func_name -%>(module, request, response):
('kind' if object.kind?),
])
%>
fingerprint = new_resource[:<%= fingerprint_name -%>]
fingerprint = new_resource[:<%= key[:fingerprint_name] -%>]
<% end -%>
<%
request_props = if fingerprint_name
request_props = if key[:fingerprint_name]
request_properties(props).merge({fingerprint_name => Google::PythonUtils::PythonCode.new("new_resource[:#{key[:fingerprint_name]}]")})
else
request_properties(props)
Expand Down

0 comments on commit db1a5f2

Please sign in to comment.