Skip to content

Commit

Permalink
fix(clustering/rpc): added required field for mocked workspace to byp…
Browse files Browse the repository at this point in the history
…ass validation
  • Loading branch information
chobits committed Jan 22, 2025
1 parent c85bc75 commit 4075fb3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ function RpcSyncV2NotifyNewVersioinTestHandler:init_worker()
entity = {
id = fake_uuid,
name = "default",
-- It must contain feild "config" and "meta", otherwise the deltas
-- validation will fail with the error "required field missing".
config = {},
meta = {},
},
type = "workspaces",
version = latest_version,
Expand Down

0 comments on commit 4075fb3

Please sign in to comment.