Skip to content

Commit

Permalink
Allow forcing a certain build id
Browse files Browse the repository at this point in the history
  • Loading branch information
brancz committed Apr 30, 2024
1 parent 6e576dd commit fe78e28
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 fe78e28

Please sign in to comment.