Skip to content

Commit 0fb8901

Browse files
yogesh-chauhanHarness
authored andcommitted
fix: [ML-1255]: fix main.go compile (#186)
* fix: [ML-1255]: fix main.go compile
1 parent 8b47cd9 commit 0fb8901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/harness-mcp-server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func runMCPServer(ctx context.Context, config config.Config) error {
247247

248248
// Create server
249249
// WithRecovery makes sure panics are logged and don't crash the server
250-
harnessServer := harness.NewServer(version, server.WithHooks(hooks), server.WithRecovery())
250+
harnessServer := harness.NewServer(version, &config, server.WithHooks(hooks), server.WithRecovery())
251251

252252
// Initialize toolsets
253253
toolsets, err := harness.InitToolsets(ctx, &config)

0 commit comments

Comments
 (0)