Skip to content

Commit c995da9

Browse files
committed
feat: add merge
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
1 parent 88b80be commit c995da9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/clickbom/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ func handleClickHouse(ctx context.Context, cfg *config.Config, sbomFile string)
275275
}
276276

277277
func generateTableName(cfg *config.Config) string {
278+
if cfg.Merge {
279+
return strings.ReplaceAll(cfg.S3Key, ".", "_")
280+
}
278281
switch cfg.SBOMSource {
279282
case "github":
280283
return strings.ReplaceAll(strings.ToLower(cfg.Repository), "/", "_")

0 commit comments

Comments
 (0)