Skip to content

Commit

Permalink
Fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Suen committed Nov 16, 2023
1 parent 5b4e41f commit 4a054c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (e *Exporter) Attach() error {
} else if errors.Is(err, os.ErrNotExist) {
return fmt.Errorf("could not find BTF file %s", e.btfFilePath)

Check failure on line 131 in exporter/exporter.go

View workflow job for this annotation

GitHub Actions / Lint ebpf_exporter (x86_64, built-in libbpf)

File is not `goimports`-ed (goimports)

Check failure on line 131 in exporter/exporter.go

View workflow job for this annotation

GitHub Actions / Lint ebpf_exporter (x86_64, system libbpf)

File is not `goimports`-ed (goimports)
} else {
return fmt.Errorf("failed to file info for %s. err: %v", e.btfFilePath, err)
return fmt.Errorf("failed to retrieve file info for %s. err: %v", e.btfFilePath, err)
}
}

Expand Down

0 comments on commit 4a054c4

Please sign in to comment.