Skip to content

Commit f0e32e8

Browse files
committed
Handle and retry StorageAccount specific in-progress operation errors
1 parent ac4d12b commit f0e32e8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

provider/pkg/azure/client_azcore.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ func shouldRetryConflict(resp *http.Response) bool {
137137
if responseErr.ErrorCode == "ConcurrentFederatedIdentityCredentialsWritesForSingleManagedIdentity" {
138138
return true
139139
}
140+
141+
// handle StorageAccount specific in-progress operation errors
142+
if responseErr.ErrorCode == "StorageAccountOperationInProgress" {
143+
return true
144+
}
140145
}
141146
}
142147
return false

0 commit comments

Comments
 (0)