summaryrefslogtreecommitdiff
path: root/app/graphql/types/metadata/kas_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/metadata/kas_type.rb')
-rw-r--r--app/graphql/types/metadata/kas_type.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/types/metadata/kas_type.rb b/app/graphql/types/metadata/kas_type.rb
index 8af4c23270b..a947986fa60 100644
--- a/app/graphql/types/metadata/kas_type.rb
+++ b/app/graphql/types/metadata/kas_type.rb
@@ -7,11 +7,11 @@ module Types
authorize :read_instance_metadata
- field :enabled, GraphQL::BOOLEAN_TYPE, null: false,
+ field :enabled, GraphQL::Types::Boolean, null: false,
description: 'Indicates whether the Kubernetes Agent Server is enabled.'
- field :version, GraphQL::STRING_TYPE, null: true,
+ field :version, GraphQL::Types::String, null: true,
description: 'KAS version.'
- field :external_url, GraphQL::STRING_TYPE, null: true,
+ field :external_url, GraphQL::Types::String, null: true,
description: 'The URL used by the Agents to communicate with KAS.'
end
end