mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Fix: support for virtual directories in applications
This commit is contained in:
committed by
Matt Clay
parent
b8fbbdbff0
commit
6d166d75bc
@@ -66,7 +66,11 @@ $directory_path = if($application) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Directory info
|
# Directory info
|
||||||
$directory = Get-WebVirtualDirectory -Site $site -Name $name
|
$directory = if($application) {
|
||||||
|
Get-WebVirtualDirectory -Site $site -Name $name -Application $application
|
||||||
|
} else {
|
||||||
|
Get-WebVirtualDirectory -Site $site -Name $name
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
# Add directory
|
# Add directory
|
||||||
|
|||||||
Reference in New Issue
Block a user