Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PuppetBaseController < ::Api::V2::BaseController
protected

def show_deprecation_for_core_routes
return if request.path.starts_with?('/foreman_puppet') || request.path.starts_with?('/api/smart_proxies')
return if request.path.starts_with?('/foreman_puppet') || request.path.starts_with?('/api/smart_proxies') || request.path.starts_with?('/api/v2/hosts/bulk/')
Foreman::Deprecation.api_deprecation_warning(
format(
'/api/v2/%{controller} API endpoints are deprecated, please use /foreman_puppet/api/v2/%{controller} instead',
Expand Down
Loading