Skip to content

Commit 82034ab

Browse files
author
Zhenyu Zhou
committed
Fix output type of Restar-AzHDInsightHosts and remove breaking change exception
1 parent d20e5ac commit 82034ab

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/HDInsight/HDInsight/ManagementCommands/RestartAzureHDInsightHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace Microsoft.Azure.Commands.HDInsight
2727
{
28-
[Cmdlet("Restart", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "HDInsightHost", DefaultParameterSetName = SetByNameParameterSet, SupportsShouldProcess = true),OutputType(typeof(Cluster))]
28+
[Cmdlet("Restart", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "HDInsightHost", DefaultParameterSetName = SetByNameParameterSet, SupportsShouldProcess = true),OutputType(typeof(bool))]
2929
public class RestartAzureHDInsightHostCommand : HDInsightCmdletBase
3030
{
3131
private const string SetByNameParameterSet = "SetByNameParameterSet";

tools/StaticAnalysis/Exceptions/Az.HDInsight/BreakingChangeIssues.csv

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)