Skip to content

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
shantanugadgil committed May 31, 2022
1 parent eb816dc commit f5c5ff4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/fingerprint/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ func NewArchFingerprint(logger log.Logger) Fingerprint {
func (f *ArchFingerprint) Fingerprint(req *FingerprintRequest, resp *FingerprintResponse) error {
resp.AddAttribute("cpu.arch", runtime.GOARCH)

if (runtime.GOARCH == "amd64") {
if runtime.GOARCH == "amd64" {
resp.AddAttribute("cpu.arch_classic", "x86_64")
} else if (runtime.GOARCH == "386") {
} else if runtime.GOARCH == "386" {
resp.AddAttribute("cpu.arch_classic", "i386")
} else if (runtime.GOARCH == "arm64") {
} else if runtime.GOARCH == "arm64" {
resp.AddAttribute("cpu.arch_classic", "aarch64")
}

Expand Down

0 comments on commit f5c5ff4

Please sign in to comment.