From 7910ae15785ca7374003b8c7fc270fee6963410c Mon Sep 17 00:00:00 2001 From: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com> Date: Fri, 19 Aug 2022 13:56:31 +0200 Subject: [PATCH] select-datastore: make cluster parameter mandatory (#6112) --- images.CI/macos/select-datastore.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/images.CI/macos/select-datastore.ps1 b/images.CI/macos/select-datastore.ps1 index 23b5fb5a4a76..cc7af8efa3fe 100644 --- a/images.CI/macos/select-datastore.ps1 +++ b/images.CI/macos/select-datastore.ps1 @@ -36,9 +36,11 @@ param( [ValidateNotNullOrEmpty()] [string]$VIPassword, - [string]$TagCategory = "Busy", + [Parameter(Mandatory)] + [ValidateNotNullOrEmpty()] + [string]$Cluster, - [string]$Cluster + [string]$TagCategory = "Busy" ) # Import helpers module