Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 2578 (Azure#22724)
Browse files Browse the repository at this point in the history
* excluding duplicated env:USER in image tag

* NIT

* removing default repo name

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
  • Loading branch information
2 people authored and rakshith91 committed Apr 10, 2022
1 parent 057ecd1 commit 6e33b35
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ function DeployStressTests(
$subscription = 'Azure SDK Test Resources'
}

if (!$repository) {
$repository = if ($env:USER) { $env:USER } else { "${env:USERNAME}" }
# Remove spaces, etc. that may be in $namespace
$repository -replace '\W'
}

if ($login) {
if (!$clusterGroup -or !$subscription) {
throw "clusterGroup and subscription parameters must be specified when logging into an environment that is not test or prod."
Expand Down

0 comments on commit 6e33b35

Please sign in to comment.