Skip to content

Commit

Permalink
Change options to only pass id once
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Feb 28, 2018
1 parent 36f8ef1 commit b376da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mixins/retirement_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def retire_now(requester = nil)
else
_log.info("Creating request for #{self.class.name} #{id}")
begin
options = {:ids => id, :src_ids => id}
options = {:src_ids => id}
VmRetireRequest.make_request(@request_id, options, User.current_user.try(:userid))

# still need the next line for orchestration and services
Expand Down

0 comments on commit b376da7

Please sign in to comment.