Skip to content

Commit ed1391e

Browse files
committed
Remove duplictes for Share
1 parent 85866ab commit ed1391e

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Infrastructure/AzureStack.Infra.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Export-ModuleMember -Function Get-AzsInfrastructureRoleInstance
118118
.SYNOPSIS
119119
List File Shares
120120
#>
121-
function Get-AzsStorageShare {
121+
function Get-AzsInfrastructureShare {
122122
Param(
123123
[Parameter(Mandatory = $false)]
124124
[string] $Location
@@ -130,7 +130,7 @@ function Get-AzsStorageShare {
130130
$shares
131131
}
132132

133-
Export-ModuleMember -Function Get-AzsStorageShare
133+
Export-ModuleMember -Function Get-AzsInfrastructureShare
134134

135135
<#
136136
.SYNOPSIS

Infrastructure/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add-AzureRMEnvironment -Name "AzureStackAdmin" -ArmEndpoint "https://adminmanage
2020
Then login:
2121

2222
```powershell
23-
Login-AzureRmAccount -EnvironmentName "AzureStackAdmin"
23+
Login-AzureRmAccount -EnvironmentName "AzureStackAdmin"
2424
```
2525
----
2626
If you are **not** using your home directory tenant, you will need to supply the tenant ID to your login command. You may find it easiest to obtain using the Connect tool. For **Azure Active Directory** environments provide your directory tenant name:
@@ -177,7 +177,7 @@ The command does the following:
177177

178178
```powershell
179179
180-
Get-AzsStorageShare
180+
Get-AzsInfrastructureShare
181181
```
182182

183183
The command does the following:

Infrastructure/Tests/Infra.Tests.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Describe $script:ModuleName {
1212
}
1313

1414
It 'Get-AzsAlert should be exported' {
15-
Get-Command -Name Get-AzsAlert -ErrorAction SilentlyContinue |
15+
Get-Command -Name Get-AzsAlert -ErrorAction SilentlyContinue |
1616
Should Not Be $null
1717
}
1818
}
@@ -22,9 +22,9 @@ InModuleScope $script:ModuleName {
2222

2323
$HostComputer = $global:HostComputer
2424
$ArmEndpoint = $global:ArmEndpoint
25-
$natServer = $global:natServer
26-
$AdminUser = $global:AdminUser
27-
$AadServiceAdmin = $global:AadServiceAdmin
25+
$natServer = $global:natServer
26+
$AdminUser = $global:AdminUser
27+
$AadServiceAdmin = $global:AadServiceAdmin
2828

2929
$AdminPassword = $global:AdminPassword
3030
$AadServiceAdminPassword = $global:AadServiceAdminPassword
@@ -56,15 +56,15 @@ InModuleScope $script:ModuleName {
5656
{ Get-AzsInfraRoleInstance } |
5757
Should Not Throw
5858
}
59-
It 'Get-AzsStorageShare should not throw' {
60-
{ Get-AzsStorageShare } |
59+
It 'Get-AzsInfrastructureShare should not throw' {
60+
{ Get-AzsInfrastructureShare } |
6161
Should Not Throw
6262
}
6363
It 'Get-Azslogicalnetwork should not throw' {
6464
{ Get-Azslogicalnetwork } |
6565
Should Not Throw
6666
}
67-
67+
6868
It 'Get-AzsUpdateSummary should not throw' {
6969
{ Get-AzsUpdateSummary } |
7070
Should Not Throw
@@ -75,6 +75,6 @@ InModuleScope $script:ModuleName {
7575
}
7676

7777
}
78-
78+
7979

8080
}

0 commit comments

Comments
 (0)