Skip to content

Commit

Permalink
fixes #7266 - specify time when creating new ulimited subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill committed Aug 26, 2014
1 parent 1e72dee commit 7323c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/katello/resources/candlepin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def remove_content(product_id, content_id)
end

def create_unlimited_subscription(owner_key, product_id)
start_date ||= Date.today
start_date ||= DateTime.now
# End it 100 years from now
end_date ||= start_date + 10_950

Expand Down

0 comments on commit 7323c76

Please sign in to comment.