Skip to content

Commit a2ee1aa

Browse files
author
dragonfly91
committed
Merge branch 'dev1' of https://github.com/MabOneSdk/azure-powershell into dev1
2 parents c2191c8 + e9f9203 commit a2ee1aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Disable-AzureBackupProtection .cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public override void ExecuteCmdlet()
7272

7373

7474
WriteDebug("Received disable azure backup protection response");
75-
var operationStatus = GetOperationStatus(operationId);
75+
var operationStatus = TrackOperation(operationId);
7676
this.WriteObject(GetCreatedJobs(new Models.AzurePSBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location), operationStatus.JobList).FirstOrDefault());
7777
});
7878
}

src/ResourceManager/AzureBackup/Commands.AzureBackup/Cmdlets/Item/Enable-AzureBackupProtection .cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public override void ExecuteCmdlet()
7474
var operationId = AzureBackupClient.EnableProtection(Item.ContainerUniqueName, itemName, input);
7575
WriteDebug("Received enable azure backup protection response");
7676

77-
var operationStatus = GetOperationStatus(operationId);
77+
var operationStatus = TrackOperation(operationId);
7878
this.WriteObject(GetCreatedJobs(new Models.AzurePSBackupVault(Item.ResourceGroupName, Item.ResourceName, Item.Location), operationStatus.JobList).FirstOrDefault());
7979
});
8080
}

0 commit comments

Comments
 (0)