Skip to content

Commit 190431f

Browse files
Update src/ServiceControl.Audit.Persistence.RavenDB/MemoryInformationRetriever.cs
Co-authored-by: Mauro Servienti <[email protected]>
1 parent ab6e339 commit 190431f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.Audit.Persistence.RavenDB/MemoryInformationRetriever.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ record MemoryInformation
3131
var httpResponse = await client.GetAsync("/admin/debug/memory/stats?includeThreads=false&includeMappings=false", cancellationToken);
3232
var responseDto = JsonSerializer.Deserialize<ResponseDto>(await httpResponse.Content.ReadAsStringAsync(cancellationToken));
3333

34-
return null == responseDto.MemoryInformation
34+
return responseDto.MemoryInformation is null
3535
? default
3636
: (responseDto.MemoryInformation.IsHighDirty, responseDto.MemoryInformation.DirtyMemory);
3737
}

0 commit comments

Comments
 (0)