Skip to content

Commit 21ec778

Browse files
author
jasper-schneider
committed
CR feedback tweaks
1 parent d59764b commit 21ec778

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/ResourceManager/Batch/Commands.Batch/Jobs/RemoveBatchJobCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class RemoveBatchJobCommand : BatchObjectModelCmdletBase
4141

4242
public override void ExecuteCmdlet()
4343
{
44-
string jobName = InputObject == null ? Name : InputObject.Name;
44+
string jobName = InputObject == null ? this.Name : InputObject.Name;
4545
RemoveJobParameters parameters = new RemoveJobParameters()
4646
{
4747
Context = this.BatchContext,

src/ResourceManager/Batch/Commands.Batch/Tasks/RemoveBatchTaskCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class RemoveBatchTaskCommand : BatchObjectModelCmdletBase
4545

4646
public override void ExecuteCmdlet()
4747
{
48-
string taskName = InputObject == null ? Name : InputObject.Name;
48+
string taskName = InputObject == null ? this.Name : InputObject.Name;
4949
RemoveTaskParameters parameters = new RemoveTaskParameters()
5050
{
5151
Context = this.BatchContext,

src/ResourceManager/Batch/Commands.Batch/WorkItems/RemoveBatchWorkItemCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public override void ExecuteCmdlet()
3434
{
3535
ConfirmAction(
3636
Force.IsPresent,
37-
string.Format(Resources.RBWI_RemoveConfirm, Name),
37+
string.Format(Resources.RBWI_RemoveConfirm, this.Name),
3838
Resources.RBWI_RemoveWorkItem,
39-
Name,
40-
() => BatchClient.DeleteWorkItem(BatchContext, Name, AdditionalBehaviors));
39+
this.Name,
40+
() => BatchClient.DeleteWorkItem(this.BatchContext, this.Name, this.AdditionalBehaviors));
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)