We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3564e68 commit 112a0d0Copy full SHA for 112a0d0
agent/agentssh/x11_test.go
@@ -33,7 +33,7 @@ func TestServer_X11(t *testing.T) {
33
fs := afero.NewOsFs()
34
dir := t.TempDir()
35
s, err := agentssh.NewServer(ctx, logger, prometheus.NewRegistry(), fs, &agentssh.Config{
36
- WorkingDirectory: func() string { return dir },
+ X11SocketDir: dir,
37
})
38
require.NoError(t, err)
39
defer s.Close()
0 commit comments