diff options
Diffstat (limited to 'app/graphql/resolvers/ci/runners_resolver.rb')
-rw-r--r-- | app/graphql/resolvers/ci/runners_resolver.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/graphql/resolvers/ci/runners_resolver.rb b/app/graphql/resolvers/ci/runners_resolver.rb index e221dfea4d0..64738608b60 100644 --- a/app/graphql/resolvers/ci/runners_resolver.rb +++ b/app/graphql/resolvers/ci/runners_resolver.rb @@ -36,6 +36,10 @@ module Resolvers required: false, description: 'Sort order of results.' + argument :upgrade_status, ::Types::Ci::RunnerUpgradeStatusTypeEnum, + required: false, + description: 'Filter by upgrade status.' + def resolve_with_lookahead(**args) apply_lookahead( ::Ci::RunnersFinder @@ -54,6 +58,7 @@ module Resolvers status_status: params[:status]&.to_s, type_type: params[:type], tag_name: params[:tag_list], + upgrade_status: params[:upgrade_status], search: params[:search], sort: params[:sort]&.to_s, preload: { |