SearchUsesPositionalParameters
The department is: SearchUsesPositionalParameters
The full name of the cop is: Chef/Deprecations/SearchUsesPositionalParameters
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All 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
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.11.0 | String |
Include | Array |
Was this page helpful?