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:
Danielle Maywood
2025-07-08 11:05:30 +01:00
committed by GitHub
parent 1195f31025
commit 0118e75009
4 changed files with 28 additions and 23 deletions
+1 -1
View File
@@ -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.")
})
}