diff --git a/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RepositoryBasedServerUpdate.graphql b/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RepositoryBasedServerUpdate.graphql index 4f8a3bdbcc..2b23e65443 100644 --- a/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RepositoryBasedServerUpdate.graphql +++ b/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RepositoryBasedServerUpdate.graphql @@ -1,5 +1,5 @@ mutation RepositoryBasedServerUpdate($targetVersion: Semver!) { - changeServerVersionViaTrackedRepository(input: { targetVersion: $targetVersion }) { + changeServerNodeVersionViaTrackedRepository(input: { targetVersion: $targetVersion }) { errors { ... on ErrorMessageError { additionalData diff --git a/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RestartServer.graphql b/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RestartServer.graphql index c9abfea9ef..62b9fea1fc 100644 --- a/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RestartServer.graphql +++ b/src/Tgstation.Server.Client.GraphQL/GQL/Mutations/RestartServer.graphql @@ -1,5 +1,5 @@ mutation RestartServer() { - restartServer() { + restartServerNode() { errors { ... on ErrorMessageError { additionalData diff --git a/src/Tgstation.Server.Host/GraphQL/Mutations/AdministrationMutations.cs b/src/Tgstation.Server.Host/GraphQL/Mutations/AdministrationMutations.cs index 6214227d80..7390113a24 100644 --- a/src/Tgstation.Server.Host/GraphQL/Mutations/AdministrationMutations.cs +++ b/src/Tgstation.Server.Host/GraphQL/Mutations/AdministrationMutations.cs @@ -21,13 +21,13 @@ namespace Tgstation.Server.Host.GraphQL.Mutations public sealed class AdministrationMutations { /// - /// Restarts the server node without terminating running game instances. + /// Restarts the mutated without terminating running game instances. /// /// The for the . /// A representing the running operation. [TgsGraphQLAuthorize(nameof(IAdministrationAuthority.TriggerServerRestart))] [Error(typeof(ErrorMessageException))] - public async ValueTask RestartServer( + public async ValueTask RestartServerNode( [Service] IGraphQLAuthorityInvoker administrationAuthority) { ArgumentNullException.ThrowIfNull(administrationAuthority); @@ -38,7 +38,7 @@ namespace Tgstation.Server.Host.GraphQL.Mutations } /// - /// Restarts the server node without terminating running game instances and changes its . + /// Restarts the mutated without terminating running game instances and changes its . /// /// The semver of the server available in the tracked repository to switch to. /// The for the . @@ -46,7 +46,7 @@ namespace Tgstation.Server.Host.GraphQL.Mutations /// A representing the running operation. [TgsGraphQLAuthorize(AdministrationRights.ChangeVersion)] [Error(typeof(ErrorMessageException))] - public async ValueTask ChangeServerVersionViaTrackedRepository( + public async ValueTask ChangeServerNodeVersionViaTrackedRepository( Version targetVersion, [Service] IGraphQLAuthorityInvoker administrationAuthority, CancellationToken cancellationToken) @@ -59,7 +59,7 @@ namespace Tgstation.Server.Host.GraphQL.Mutations } /// - /// Restarts the server node without terminating running game instances and changes its . + /// Restarts the mutated without terminating running game instances and changes its . /// /// The semver of the server available in the tracked repository to switch to. /// The for the . @@ -68,7 +68,7 @@ namespace Tgstation.Server.Host.GraphQL.Mutations [TgsGraphQLAuthorize(AdministrationRights.UploadVersion)] [Error(typeof(ErrorMessageException))] [GraphQLType] - public async ValueTask ChangeServerVersionViaUpload( + public async ValueTask ChangeServerNodeVersionViaUpload( Version targetVersion, [Service] IGraphQLAuthorityInvoker administrationAuthority, CancellationToken cancellationToken)