From 75e7d6accd92a07ae13c7eff16893cf577af255b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 14 Nov 2022 07:43:45 -0600 Subject: replace remaining network references --- config/slskd.example.yml | 2 +- src/slskd/Common/Exceptions/RelayException.cs | 2 +- src/slskd/Relay/API/Controllers/RelayController.cs | 2 +- src/slskd/Relay/RelayService.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/slskd.example.yml b/config/slskd.example.yml index 33c1a795..a1a5d825 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -21,7 +21,7 @@ # api_key: # secret: # # agent config is optional when running in 'controller' mode -# # this specifies all of the agents on the network +# # this specifies all of the agents capable of connecting # agents: # my_agent: # secret: diff --git a/src/slskd/Common/Exceptions/RelayException.cs b/src/slskd/Common/Exceptions/RelayException.cs index 2c1747a2..11a6bd9e 100644 --- a/src/slskd/Common/Exceptions/RelayException.cs +++ b/src/slskd/Common/Exceptions/RelayException.cs @@ -22,7 +22,7 @@ namespace slskd using System.Runtime.Serialization; /// - /// Represents an error related to the slskd network feature. + /// Represents an error related to the slskd relay feature. /// [ExcludeFromCodeCoverage] [Serializable] diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs index 8db29662..8898e991 100644 --- a/src/slskd/Relay/API/Controllers/RelayController.cs +++ b/src/slskd/Relay/API/Controllers/RelayController.cs @@ -121,7 +121,7 @@ namespace slskd.Relay Log.Information("File upload of {Filename} ({Token}) from agent {Agent} validated and authenticated. Forwarding file stream.", filename, token, agentName); - // pass the stream back to the network service, which will in turn pass it to the upload service, and use it to + // pass the stream back to the relay service, which will in turn pass it to the upload service, and use it to // feed data into the remote upload. await this call, it will complete when the upload is complete, one way or the other. await Relay.HandleFileStreamResponse(agentName, id: guid, stream); diff --git a/src/slskd/Relay/RelayService.cs b/src/slskd/Relay/RelayService.cs index fd470852..2e986c84 100644 --- a/src/slskd/Relay/RelayService.cs +++ b/src/slskd/Relay/RelayService.cs @@ -276,7 +276,7 @@ namespace slskd.Relay } /// - /// Gets the network client (agent). + /// Gets the relay client (agent). /// public IRelayClient Client { get; private set; } -- cgit v1.2.3