Skip to content

Commit

Permalink
fix #128 delete a model who got no image (#134)
Browse files Browse the repository at this point in the history
* fix #128

* fix #128

Co-authored-by: Kevin BEAUGRAND <[email protected]>
  • Loading branch information
Sben65 and kbeaugrand authored Jan 28, 2022
1 parent 0f03189 commit e03b40f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public async Task DeleteDeviceModelImageAsync(string deviceModelId)

this.logger.LogInformation($"Deleting from Blob storage :\n\t {blobClient.Uri}\n");

await blobClient.DeleteAsync();
await blobClient.DeleteIfExistsAsync();
}

public Uri ComputeImageUri(string deviceModelId)
Expand Down

0 comments on commit e03b40f

Please sign in to comment.