Skip to content

Commit 3af7b46

Browse files
author
begoldsm
committed
Double check help, missed a force remove
1 parent d643911 commit 3af7b46

File tree

3 files changed

+1790
-1312
lines changed

3 files changed

+1790
-1312
lines changed

src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Commands/SetAzureRmDataLakeAnalyticsCatalogCredential.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ public class SetAzureDataLakeAnalyticsCatalogCredential : DataLakeAnalyticsCmdle
7676
Mandatory = true, HelpMessage = "The Port associated with the host for the database to connect to.")]
7777
public int Port { get; set; }
7878

79-
[Parameter(Position = 6, Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
80-
public SwitchParameter Force { get; set; }
81-
8279
public override void ExecuteCmdlet()
8380
{
8481
if (Uri != null && Uri.Port <= 0)
@@ -88,8 +85,6 @@ public override void ExecuteCmdlet()
8885

8986
var toUse = Uri ?? new Uri(string.Format("https://{0}:{1}", DatabaseHost, Port));
9087
ConfirmAction(
91-
Force.IsPresent,
92-
string.Format(Resources.SettingDataLakeCatalogCredential, CredentialName, DatabaseName),
9388
string.Format(Resources.SetDataLakeCatalogCredential, CredentialName, DatabaseName),
9489
CredentialName, () =>
9590
DataLakeAnalyticsClient.UpdateCredentialPassword(

0 commit comments

Comments
 (0)