Skip to content

Commit

Permalink
Update pool.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
EasyAsABC123 committed Jan 15, 2016
1 parent d323559 commit e54eada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
if !@current_resource.exists
cmd = "#{appcmd(node)} add apppool /name:\"#{new_resource.pool_name}\""
if new_resource.no_managed_code
cmd << " /managedRuntimeVersion:\"\""
cmd << " /managedRuntimeVersion:"
else
cmd << " /managedRuntimeVersion:v#{new_resource.runtime_version}" if new_resource.runtime_version
end
Expand Down Expand Up @@ -212,7 +212,7 @@ def configure
end

if new_resource.no_managed_code
configure_application_pool(is_new_managed_runtime_version, "managedRuntimeVersion:\"\"")
configure_application_pool(is_new_managed_runtime_version, "managedRuntimeVersion:")
else
configure_application_pool(new_resource.runtime_version && is_new_managed_runtime_version, "managedRuntimeVersion:v#{new_resource.runtime_version}")
end
Expand Down

0 comments on commit e54eada

Please sign in to comment.