Skip to content

Commit 8a55189

Browse files
authored
Merge pull request #3620 from Azure/fix-export-issues
Fix cmdlet export issues in AzureStack release
2 parents d9ca5fa + 461b207 commit 8a55189

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tools/AzureRM.BootStrapper/AzureRM.BootStrapper.psd1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ CLRVersion = '4.0'
6969
# NestedModules = @()
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
72-
FunctionsToExport = 'Set-BootstrapRepo'
72+
FunctionsToExport = 'Set-BootstrapRepo', 'Update-AzureRmProfile', 'Uninstall-AzureRmProfile',
73+
'Install-AzureRmProfile', 'Use-AzureRmProfile', 'Get-AzureRmProfile',
74+
'Get-AzureRmModule'
7375

7476
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
7577
CmdletsToExport = 'Update-AzureRmProfile', 'Uninstall-AzureRmProfile',

tools/AzureRM.BootStrapper/AzureRM.Bootstrapper.psm1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,3 @@ function Set-BootstrapRepo
10841084
param([string]$Repo)
10851085
$script:BootStrapRepo = $Repo
10861086
}
1087-
1088-
Export-ModuleMember -Function 'Set-BootstrapRepo'
1089-
Export-ModuleMember -Cmdlet 'Update-AzureRmProfile', 'Uninstall-AzureRmProfile', 'Install-AzureRmProfile', 'Use-AzureRmProfile', 'Get-AzureRmProfile', 'Get-AzureRmModule'

0 commit comments

Comments
 (0)