Skip to main content

SearchUsesPositionalParameters

The department is: SearchUsesPositionalParameters

The full name of the cop is: Chef/Deprecations/SearchUsesPositionalParameters

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!

    ×









    Search Results