diff options
author | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2020-01-16 15:29:51 +0000 |
---|---|---|
committer | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2020-04-05 17:25:42 +0530 |
commit | 9d732ba0a856d1ffd618205f974becb1c8969502 (patch) | |
tree | b2557cd836f8c3120b55528ea69fe7b15beb621b | |
parent | 3e0dd389efe9cafaf8c6b6ee9185689175c2f3f1 (diff) | |
download | chef-9d732ba0a856d1ffd618205f974becb1c8969502.tar.gz |
Fixed chefstyle
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
-rw-r--r-- | lib/chef/provider/windows_task.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/provider/windows_task.rb b/lib/chef/provider/windows_task.rb index 73c6340f8f..9b30d25da7 100644 --- a/lib/chef/provider/windows_task.rb +++ b/lib/chef/provider/windows_task.rb @@ -326,7 +326,6 @@ class Chef # known issue : Since start_day and time is not mandatory while updating weekly frequency for which start_day is not mentioned by user idempotency # is not gettting maintained as new_resource.start_day is nil and we fetch the day of week from start_day to set and its currently coming as nil and don't match with current_task def task_needs_update?(task) - flag = false if new_resource.frequency == :none flag = (task.author != new_resource.user || |