mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-18 14:09:38 +08:00
Remove id from AgentConnected message (#2548)
This commit is contained in:
parent
741e7d2b20
commit
08fa1b4f07
3 changed files with 0 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
defmodule LivebookProto.AgentConnected do
|
defmodule LivebookProto.AgentConnected do
|
||||||
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
|
use Protobuf, syntax: :proto3, protoc_gen_elixir_version: "0.12.0"
|
||||||
|
|
||||||
field :id, 1, type: :int32
|
|
||||||
field :name, 2, type: :string
|
field :name, 2, type: :string
|
||||||
field :public_key, 3, type: :string, json_name: "publicKey"
|
field :public_key, 3, type: :string, json_name: "publicKey"
|
||||||
field :deployment_group_id, 4, type: :int32, json_name: "deploymentGroupId"
|
field :deployment_group_id, 4, type: :int32, json_name: "deploymentGroupId"
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,6 @@ message UserConnected {
|
||||||
}
|
}
|
||||||
|
|
||||||
message AgentConnected {
|
message AgentConnected {
|
||||||
int32 id = 1;
|
|
||||||
string name = 2;
|
string name = 2;
|
||||||
string public_key = 3;
|
string public_key = 3;
|
||||||
int32 deployment_group_id = 4;
|
int32 deployment_group_id = 4;
|
||||||
|
|
|
||||||
|
|
@ -397,7 +397,6 @@ defmodule Livebook.Hubs.TeamClientTest do
|
||||||
|
|
||||||
agent_connected =
|
agent_connected =
|
||||||
%LivebookProto.AgentConnected{
|
%LivebookProto.AgentConnected{
|
||||||
id: agent_key.id,
|
|
||||||
name: Livebook.Config.agent_name(),
|
name: Livebook.Config.agent_name(),
|
||||||
public_key: org_key_pair.public_key,
|
public_key: org_key_pair.public_key,
|
||||||
deployment_group_id: deployment_group.id,
|
deployment_group_id: deployment_group.id,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue