Skip to content

Commit

Permalink
semconvgen: Quickfix after semconv repo migration (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Jul 26, 2023
1 parent 37d80b2 commit 84875ac
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .chloggen/semconvgen-quickfix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. crosslink)
component: semconvgen

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Fix semconvgen to work for the new semantic conventions repository.

# One or more tracking issues related to the change
issues: [374]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
2 changes: 1 addition & 1 deletion semconvgen/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func render(cfg config) error {
"run", "--rm",
"-v", fmt.Sprintf("%s:/data:Z", tmpDir),
cfg.containerImage,
"--yaml-root", path.Join("/data/input/semantic_conventions/", path.Base(cfg.inputPath)),
"--yaml-root", path.Join("/data/input/model/", path.Base(cfg.inputPath)),
}
if cfg.onlyType != "" {
args = append(args, "--only", cfg.onlyType)
Expand Down

0 comments on commit 84875ac

Please sign in to comment.