From 5896bdd2d921864ec12d062ca94a1fc5a5b37c11 Mon Sep 17 00:00:00 2001 From: Chad Woolley <cwoolley@gitlab.com> Date: Fri, 21 Jul 2023 22:46:53 -0700 Subject: [PATCH] Fix remote dev YARD annotations --- .../workspaces/reconcile/desired_config_generator.rb | 6 +++--- .../workspaces/reconcile/reconcile_processor.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ee/lib/remote_development/workspaces/reconcile/desired_config_generator.rb b/ee/lib/remote_development/workspaces/reconcile/desired_config_generator.rb index ca28bf1008265..9f5ee038de951 100644 --- a/ee/lib/remote_development/workspaces/reconcile/desired_config_generator.rb +++ b/ee/lib/remote_development/workspaces/reconcile/desired_config_generator.rb @@ -60,7 +60,7 @@ def get_workspace_replicas(desired_state:) # @param [String] name # @param [String] namespace - # @param [String] agent_id + # @param [Integer] agent_id # @return [Array(Hash, String (frozen))] def create_workspace_inventory_config_map(name:, namespace:, agent_id:) owning_inventory = "#{name}-workspace-inventory" @@ -79,10 +79,10 @@ def create_workspace_inventory_config_map(name:, namespace:, agent_id:) [workspace_inventory_config_map, owning_inventory] end - # @param [String] agent_id + # @param [Integer] agent_id # @param [String] owning_inventory # @param [String] domain_template - # @param [String] workspace_id + # @param [Integer] workspace_id # @return [Array<(Hash, Hash)>] def get_labels_and_annotations(agent_id:, owning_inventory:, domain_template:, workspace_id:) labels = { diff --git a/ee/lib/remote_development/workspaces/reconcile/reconcile_processor.rb b/ee/lib/remote_development/workspaces/reconcile/reconcile_processor.rb index c05159d2f3e04..05c34fdabde2c 100644 --- a/ee/lib/remote_development/workspaces/reconcile/reconcile_processor.rb +++ b/ee/lib/remote_development/workspaces/reconcile/reconcile_processor.rb @@ -155,7 +155,7 @@ def config_to_apply(workspace:, update_type:) # @param [Hash] workspace_agent_infos_by_name # @param [Array] persisted_workspace_names - # @param [String] agent_id + # @param [Integer] agent_id # @param [String] update_type # @return [void] def check_for_orphaned_workspaces( -- GitLab