Skip to content

Commit

Permalink
Automated PR: Cookstyle Changes (#20)
Browse files Browse the repository at this point in the history
* Cookstyle 7.32.2 Fixes

Issues found and resolved with: resources/config_dhcp4_subnet_pool_option_data.rb

 - 56:11 refactor: Chef/RedundantCode/UnnecessaryDesiredState - There is no need to set a property to desired_state: true as all properties have a desired_state of true by default. https://docs.chef.io/workstation/cookstyle/chef_redundantcode_unnecessarydesiredstate

Issues found and resolved with: resources/config_dhcp6_subnet_pool_option_data.rb

 - 56:11 refactor: Chef/RedundantCode/UnnecessaryDesiredState - There is no need to set a property to desired_state: true as all properties have a desired_state of true by default. https://docs.chef.io/workstation/cookstyle/chef_redundantcode_unnecessarydesiredstate

Signed-off-by: kitchen-porter <board@sous-chefs.org>

* Fix markdown

Signed-off-by: Dan Webb <dan.webb@damacus.io>

---------

Signed-off-by: kitchen-porter <board@sous-chefs.org>
Signed-off-by: Dan Webb <dan.webb@damacus.io>
Co-authored-by: Dan Webb <dan.webb@damacus.io>
  • Loading branch information
kitchen-porter and damacus authored May 1, 2024
1 parent 6ff7dd9 commit b4274f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This file is used to list changes made in each version of isc_kea.

## Unreleased

- resolved cookstyle error: resources/config_dhcp4_subnet_pool_option_data.rb:56:11 refactor: `Chef/RedundantCode/UnnecessaryDesiredState`
- resolved cookstyle error: resources/config_dhcp6_subnet_pool_option_data.rb:56:11 refactor: `Chef/RedundantCode/UnnecessaryDesiredState`

## 1.4.3 - *2024-05-01*

## 1.4.2 - *2024-05-01*
Expand Down
3 changes: 1 addition & 2 deletions resources/config_dhcp4_subnet_pool_option_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def auto_accumulator_options_override
name_property: true

property :code, Integer,
identity: true,
desired_state: true
identity: true

property :space, String

Expand Down
3 changes: 1 addition & 2 deletions resources/config_dhcp6_subnet_pool_option_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def auto_accumulator_options_override
name_property: true

property :code, Integer,
identity: true,
desired_state: true
identity: true

property :space, String

Expand Down

0 comments on commit b4274f2

Please sign in to comment.