Skip to content

Commit 30791f5

Browse files
committed
Write-Message are not needed now - they covered in "Invoke-FabricRestMethod"
1 parent 67dfbc5 commit 30791f5

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

source/Public/Deployment Pipeline/Add-FabricWorkspaceToStage.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ function Add-FabricWorkspaceToStage {
7676
$response = Invoke-FabricRestMethod @apiParameters
7777

7878
# Step 5: Return results
79-
#Write-Message -Message "??? Successfully assigned workspace to deployment pipeline stage." -Level Info
8079
$response
8180

8281
} catch {

source/Public/Deployment Pipeline/Get-FabricDeploymentPipeline.ps1

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,6 @@ function Get-FabricDeploymentPipeline {
125125

126126
# Step 7: Handle results
127127
$pipelines
128-
# if ($pipelines) {
129-
# Write-Message -Message "Successfully retrieved deployment pipelines." -Level Debug
130-
# return $pipelines
131-
# } else {
132-
# Write-Message -Message "No deployment pipelines found." -Level Warning
133-
# return $null
134-
# }
135128

136129
} catch {
137130
# Step 8: Error handling

source/Public/Deployment Pipeline/Remove-FabricWorkspaceFromStage.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ function Remove-FabricWorkspaceFromStage {
6161
}
6262

6363
# Step 4: Return results
64-
#Write-Message -Message "??? Successfully unassigned workspace from deployment pipeline stage." -Level Info
6564
$response
6665

6766
} catch {

source/Public/Deployment Pipeline/Start-FabricDeploymentPipelineStage.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ function Start-FabricDeploymentPipelineStage {
124124
NoWait = $NoWait
125125
}
126126
$response = Invoke-FabricRestMethod @apiParameters
127-
Write-Message -Message "??? Successfully initiated deployment. Operation ID: $($script:responseHeader['x-ms-operation-id'])" -Level Info
128127
}
129128

130129
# Step 5: Return results

0 commit comments

Comments
 (0)