diff options
author | Tor Magnus Rakvåg <tor.magnus@outlook.com> | 2018-12-06 15:31:56 +0100 |
---|---|---|
committer | Tor Magnus Rakvåg <tor.magnus@outlook.com> | 2018-12-06 15:38:07 +0100 |
commit | ea923ef1320455873396761562806d517165df65 (patch) | |
tree | f4a27d2c3703d67ee8533189825515c53152d16b | |
parent | ab429597fe0bb070f8f171874898155abe5286df (diff) | |
download | chef-ea923ef1320455873396761562806d517165df65.tar.gz |
empty state handling has moved to load_current_value
Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
-rw-r--r-- | lib/chef/resource/powershell_package_source.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/resource/powershell_package_source.rb b/lib/chef/resource/powershell_package_source.rb index 89ac9100ca..52ebe1e8a4 100644 --- a/lib/chef/resource/powershell_package_source.rb +++ b/lib/chef/resource/powershell_package_source.rb @@ -162,9 +162,6 @@ class Chef @{n='provider_name';e={$_.ProviderName}}, @{n='trusted';e={$_.IsTrusted}} | ConvertTo-Json } } - else { - "" | Select source_name, url, provider_name, trusted | ConvertTo-Json - } EOH end end |