Skip to main content

Chef/Deprecations/SearchUsesPositionalParameters

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

correct

query(:node, ‘:’) search(:node, ‘:’, start: 0, rows: 1000, filter_result: { :ip_address => [“ipaddress”] }) search(:node, ‘:’, start: 0, rows: 1000) search(:node, ‘:’, start: 0)

Examples

Configurable attributes

NameDefault valueConfigurable values
Version Added5.11.0String
Include
    Array

    Thank you for your feedback!

    ×