mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
fix(agent): disable dev container integration inside sub agents (#18781)
It appears we accidentally broke this logic in a previous PR. This should now correctly disable the agent api as we'd expect.
This commit is contained in:
+1
-1
@@ -2104,7 +2104,7 @@ func TestSSH_Container(t *testing.T) {
|
||||
clitest.SetupConfig(t, client, root)
|
||||
|
||||
err := inv.WithContext(ctx).Run()
|
||||
require.ErrorContains(t, err, "The agent dev containers feature is experimental and not enabled by default.")
|
||||
require.ErrorContains(t, err, "Dev Container feature not enabled.")
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user