diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-21 18:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-21 18:08:48 +0300 |
commit | 71c6e099a8b019ab7749e43b63885d52de60e316 (patch) | |
tree | e3a4e1251e208993555ed436d16d676d36a4e850 /app/assets/javascripts/environments | |
parent | e7198b914bf1d6594909e35d3d00d0a0b260f250 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/environments')
3 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/environments/graphql/mutations/stop_environment.mutation.graphql b/app/assets/javascripts/environments/graphql/mutations/stop_environment.mutation.graphql index 7eae0ef4ce4..f530b798253 100644 --- a/app/assets/javascripts/environments/graphql/mutations/stop_environment.mutation.graphql +++ b/app/assets/javascripts/environments/graphql/mutations/stop_environment.mutation.graphql @@ -1,5 +1,5 @@ mutation stopEnvironment($environment: LocalEnvironment) { - stopEnvironment(environment: $environment) @client { + stopEnvironmentREST(environment: $environment) @client { errors } } diff --git a/app/assets/javascripts/environments/graphql/resolvers.js b/app/assets/javascripts/environments/graphql/resolvers.js index 39e05825cf0..013467e34be 100644 --- a/app/assets/javascripts/environments/graphql/resolvers.js +++ b/app/assets/javascripts/environments/graphql/resolvers.js @@ -87,7 +87,7 @@ export const resolvers = (endpoint) => ({ }, }, Mutation: { - stopEnvironment(_, { environment }, { client }) { + stopEnvironmentREST(_, { environment }, { client }) { client.writeQuery({ query: isEnvironmentStoppingQuery, variables: { environment }, diff --git a/app/assets/javascripts/environments/graphql/typedefs.graphql b/app/assets/javascripts/environments/graphql/typedefs.graphql index 7c102fd04d8..4de271935d6 100644 --- a/app/assets/javascripts/environments/graphql/typedefs.graphql +++ b/app/assets/javascripts/environments/graphql/typedefs.graphql @@ -88,7 +88,7 @@ extend type Query { } extend type Mutation { - stopEnvironment(environment: LocalEnvironmentInput): LocalErrors + stopEnvironmentREST(environment: LocalEnvironmentInput): LocalErrors deleteEnvironment(environment: LocalEnvironmentInput): LocalErrors rollbackEnvironment(environment: LocalEnvironmentInput): LocalErrors cancelAutoStop(autoStopUrl: String!): LocalErrors |