Skip to content

Commit

Permalink
Dup should just dup, really...
Browse files Browse the repository at this point in the history
Leftover from ManageIQ#18464
  • Loading branch information
d-m-u committed Feb 26, 2019
1 parent 67d4a6c commit e9db7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/service_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def provision_workflow(user, dialog_options = nil, request_options = {})
end

def dup
super.tap { |obj| obj.update_attributes(:guid => nil) }
super.tap { |obj| obj.guid = nil }
end

def add_resource(rsc, options = {})
Expand Down

0 comments on commit e9db7b5

Please sign in to comment.