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 ca28bf1008265adf7d595a3610fad5e984a23f45..9f5ee038de95106e634fa997bf52cff3c7e49020 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 c05159d2f3e0483e1c791662bf16910c5072edf0..05c34fdabde2cb270274e77bd6c62192e3a248df 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(