Skip to content

Commit

Permalink
fix: containerPath in mountPoints is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
mazyu36 committed Feb 10, 2025
1 parent 34acaea commit 435143b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/constructs/services/clickhouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class ClickHouse extends Construct implements ec2.IConnectable {

container.addMountPoints({
sourceVolume: 'clickhouse',
containerPath: '/clickhouse',
containerPath: '/var/lib/clickhouse',
readOnly: false,
});

Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/langfuse-with-aws-cdk-dev.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ exports[`snapshot test for dev 1`] = `
},
"MountPoints": [
{
"ContainerPath": "/clickhouse",
"ContainerPath": "/var/lib/clickhouse",
"ReadOnly": false,
"SourceVolume": "clickhouse",
},
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/langfuse-with-aws-cdk-prod.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ exports[`snapshot test for prod 1`] = `
},
"MountPoints": [
{
"ContainerPath": "/clickhouse",
"ContainerPath": "/var/lib/clickhouse",
"ReadOnly": false,
"SourceVolume": "clickhouse",
},
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/langfuse-with-aws-cdk-stg.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ exports[`snapshot test for stg 1`] = `
},
"MountPoints": [
{
"ContainerPath": "/clickhouse",
"ContainerPath": "/var/lib/clickhouse",
"ReadOnly": false,
"SourceVolume": "clickhouse",
},
Expand Down

0 comments on commit 435143b

Please sign in to comment.