Skip to content

Commit

Permalink
Merge pull request #21 from parca-dev/override-buildid
Browse files Browse the repository at this point in the history
Allow forcing a certain build id
  • Loading branch information
brancz committed Apr 30, 2024
2 parents 6e576dd + fe78e28 commit 0b5c2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/parca-debuginfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func run(kongCtx *kong.Context, flags flags) error {
for _, path := range flags.Upload.Paths {
buildID := flags.Upload.BuildID

if flags.Upload.Type == "debuginfo" {
if flags.Upload.Type == "debuginfo" && buildID == "" {
ef, err := elf.Open(path)
if err != nil {
return fmt.Errorf("open ELF file: %w", err)
Expand Down

0 comments on commit 0b5c2ff

Please sign in to comment.