diff options
author | Davin Taddeo <davin@chef.io> | 2020-05-29 15:33:11 -0400 |
---|---|---|
committer | Davin Taddeo <davin@chef.io> | 2020-05-29 15:33:11 -0400 |
commit | 8d914c9cfa90d7e53207facda47275d3779e859d (patch) | |
tree | 0c0da59767c4f5180b4d476c02a3245eaba75ae7 /lib | |
parent | 60cc229062def8b8494f7079f7aed9357ed49c12 (diff) | |
download | chef-8d914c9cfa90d7e53207facda47275d3779e859d.tar.gz |
minor fixes for linting and comparator mistake
Signed-off-by: Davin Taddeo <davin@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/chef_client_scheduled_task.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_client_scheduled_task.rb b/lib/chef/resource/chef_client_scheduled_task.rb index b555d472f8..3f1e9dd9d9 100644 --- a/lib/chef/resource/chef_client_scheduled_task.rb +++ b/lib/chef/resource/chef_client_scheduled_task.rb @@ -140,7 +140,7 @@ class Chef # According to https://docs.microsoft.com/en-us/windows/desktop/taskschd/schtasks, # the :once, :onstart, :onlogon, and :onidle schedules don't accept schedule modifiers - frequency_mod = if new_resource.frequency == 'minutes' && new_resource.frequency_modifier == 30 + frequency_mod = if new_resource.frequency == "minute" && new_resource.frequency_modifier == 30 30 elsif new_resource.frequency_modifier != 30 new_resource.frequency_modifier |