Skip to content

Commit 2f4f1e0

Browse files
nadjaheitmannadamruzicka
authored andcommitted
Remove deprecation warning for Puppet (CA) Proxy bulk action
1 parent 1148e5c commit 2f4f1e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/foreman_puppet/api/v2/puppet_base_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class PuppetBaseController < ::Api::V2::BaseController
1111
protected
1212

1313
def show_deprecation_for_core_routes
14-
return if request.path.starts_with?('/foreman_puppet') || request.path.starts_with?('/api/smart_proxies')
14+
return if request.path.starts_with?('/foreman_puppet') || request.path.starts_with?('/api/smart_proxies') || request.path.starts_with?('/api/v2/hosts/bulk/')
1515
Foreman::Deprecation.api_deprecation_warning(
1616
format(
1717
'/api/v2/%{controller} API endpoints are deprecated, please use /foreman_puppet/api/v2/%{controller} instead',

0 commit comments

Comments
 (0)