mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-10 01:01:34 +00:00
fix exception message formatting (#2546)
Co-authored-by: stas <statis@microsoft.com>
This commit is contained in:
parent
d10740ab4c
commit
9600c5c873
@ -515,7 +515,7 @@ public class VmssOperations : IVmssOperations {
|
|||||||
public async Async.Task DeleteNodes(Guid scalesetId, IReadOnlySet<Guid> machineIds) {
|
public async Async.Task DeleteNodes(Guid scalesetId, IReadOnlySet<Guid> machineIds) {
|
||||||
var result = await CheckCanUpdate(scalesetId);
|
var result = await CheckCanUpdate(scalesetId);
|
||||||
if (!result.IsOk) {
|
if (!result.IsOk) {
|
||||||
throw new Exception($"cannot delete nodes from scaleset {scalesetId:Tag:ScalesetId}: {result.ErrorV:Tag:Error}");
|
throw new Exception($"cannot delete nodes from scaleset {scalesetId} : {result.ErrorV}");
|
||||||
}
|
}
|
||||||
|
|
||||||
var instanceIds = new HashSet<string>();
|
var instanceIds = new HashSet<string>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user