Skip to content

Commit c75b14e

Browse files
author
Chris Maunder
committed
Merged 2.9 into main
1 parent 56b69a2 commit c75b14e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/server/Version/ServerVersionService.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ public ServerVersionService(IOptions<VersionConfig> versionOptions,
8282

8383
// Handy to allow the checkee to return emergency info if the current installed
8484
// version has issues. IMPORTANT: no personal information can be sent here. This
85-
// is purely things like OS / GPU.
85+
// is purely information such as server version, current OS / GPU.
8686
string currentVersion = VersionConfig.VersionInfo?.Version ?? string.Empty;
87-
_client.DefaultRequestHeaders.Add("X-CPAI-Server-Version", currentVersion);
88-
87+
_client.DefaultRequestHeaders.Add("X-CPAI-Server-Version", currentVersion);
8988
var sysProperties = SystemInfo.Summary;
9089
var systemInfoJson = JsonSerializer.Serialize(sysProperties);
9190
_client.DefaultRequestHeaders.Add("X-CPAI-Server-SystemInfo", systemInfoJson);

0 commit comments

Comments
 (0)