Skip to content

Commit 16b1d77

Browse files
authored
chore: fix error message in docker modules (#3404)
1 parent bcdb24f commit 16b1d77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/dockermcpgateway/dockermcpgateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustom
8383
}
8484

8585
if err != nil {
86-
return c, fmt.Errorf("generic container: %w", err)
86+
return c, fmt.Errorf("run mcp gateway: %w", err)
8787
}
8888

8989
return c, nil

modules/dockermodelrunner/dockermodelrunner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func Run(ctx context.Context, opts ...testcontainers.ContainerCustomizer) (*Cont
5353
}
5454

5555
if err != nil {
56-
return c, fmt.Errorf("socat run: %w", err)
56+
return c, fmt.Errorf("run model runner: %w", err)
5757
}
5858

5959
c.baseURL = socatCtr.TargetURL(modelRunnerPort).String()

0 commit comments

Comments
 (0)