Skip to content

Commit 379c026

Browse files
Merge pull request #39 from Azure/dev
PR from parent
2 parents 79b2ece + d601cef commit 379c026

29 files changed

+0
-31
lines changed

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ protected override void EndProcessing()
161161
{
162162
try
163163
{
164-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
165164
this.command.EndProcessing().Wait();
166165
foreach (AzureHDInsightConfig output in this.command.Output)
167166
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ protected override void EndProcessing()
106106
{
107107
try
108108
{
109-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
110109
this.command.EndProcessing().Wait();
111110
foreach (AzureHDInsightConfig output in this.command.Output)
112111
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ protected override void EndProcessing()
105105
{
106106
try
107107
{
108-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
109108
this.command.EndProcessing().Wait();
110109
foreach (AzureHDInsightConfig output in this.command.Output)
111110
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ protected override void EndProcessing()
8282
{
8383
try
8484
{
85-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
8685
this.command.EndProcessing().Wait();
8786
foreach (AzureHDInsightConfig output in this.command.Output)
8887
{

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public abstract class AzureHDInsightCmdlet : AzurePSCmdlet
3838

3939
private ILogWriter logger;
4040

41-
4241
/// <summary>
4342
/// Gets or sets a value indicating whether logging should be enabled.
4443
/// </summary>

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHdInsightPowerShellHardCodes.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,5 @@ internal class AzureHdInsightPowerShellConstants
104104
public const string Show = "Show";
105105
public const string Skip = "Skip";
106106
public const string ToDateTime = "To";
107-
108-
public const string AsmWarning =
109-
"WARNING: The Azure Service Management (ASM) cmdlets for HDInsight are deprecated and will be non-default in a future release, and they will be removed soon thereafter. Please use Switch-AzureMode AzureResourceManager to use the Azure Resource Manager cmdlets for HDInsight.";
110107
}
111108
}

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightClusterCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ protected override void EndProcessing()
108108
{
109109
try
110110
{
111-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
112111
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
113112
this.command.Logger = this.Logger;
114113
Task task = this.command.EndProcessing();

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ protected override void EndProcessing()
128128
{
129129
try
130130
{
131-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
132131
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
133132
this.command.Logger = this.Logger;
134133
Task task = this.command.EndProcessing();

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightJobOutputCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ public string TaskLogsDirectory
140140
/// <inheritdoc />
141141
protected override void EndProcessing()
142142
{
143-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
144143
this.command.Logger = this.Logger;
145144
this.command.CurrentSubscription = this.GetCurrentSubscription(this.Subscription, this.Certificate);
146145
this.AssertTaskLogsDirectorySpecified(this.TaskLogsDirectory);

src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/GetAzureHDInsightPropertiesCmdlet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ public string Subscription
106106
/// </summary>
107107
protected override void EndProcessing()
108108
{
109-
this.WriteWarning(AzureHdInsightPowerShellConstants.AsmWarning);
110109
this.command.Logger = this.Logger;
111110
try
112111
{

0 commit comments

Comments
 (0)