test(agent): fix TestAgent_DevcontainerRecreate (#18618)

This commit is contained in:
Mathias Fredriksson
2025-06-26 17:50:53 +00:00
committed by GitHub
parent 1b1d09158d
commit e03d13211c
+1 -1
View File
@@ -2372,7 +2372,7 @@ func TestAgent_DevcontainerRecreate(t *testing.T) {
// devcontainer, we do it in a goroutine so we can process logs
// concurrently.
go func(container codersdk.WorkspaceAgentContainer) {
_, err := conn.RecreateDevcontainer(ctx, container.ID)
_, err := conn.RecreateDevcontainer(ctx, devcontainerID.String())
assert.NoError(t, err, "recreate devcontainer should succeed")
}(container)