Remove id from AgentConnected message (#2548)

This commit is contained in:
Alexandre de Souza 2024-04-05 15:09:17 -03:00 committed by GitHub
parent 741e7d2b20
commit 08fa1b4f07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 3 deletions

View file

@ -1,7 +1,6 @@
defmodule LivebookProto.AgentConnected do
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
field :id, 1, type: :int32
field :name, 2, type: :string
field :public_key, 3, type: :string, json_name: "publicKey"
field :deployment_group_id, 4, type: :int32, json_name: "deploymentGroupId"

View file

@ -105,7 +105,6 @@ message UserConnected {
}
message AgentConnected {
int32 id = 1;
string name = 2;
string public_key = 3;
int32 deployment_group_id = 4;

View file

@ -397,7 +397,6 @@ defmodule Livebook.Hubs.TeamClientTest do
agent_connected =
%LivebookProto.AgentConnected{
id: agent_key.id,
name: Livebook.Config.agent_name(),
public_key: org_key_pair.public_key,
deployment_group_id: deployment_group.id,