소스 검색

s/buildId/buildID/ as per guidelines (#90)

Raul Silvera 8 년 전
부모
커밋
8b5491579f
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3
    3
      internal/driver/fetch.go

+ 3
- 3
internal/driver/fetch.go 파일 보기

@@ -351,7 +351,7 @@ mapping:
351 351
 	}
352 352
 	// Replace executable filename/buildID with the overrides from source.
353 353
 	// Assumes the executable is the first Mapping entry.
354
-	if execName, buildId := s.ExecName, s.BuildID; execName != "" || buildId != "" {
354
+	if execName, buildID := s.ExecName, s.BuildID; execName != "" || buildID != "" {
355 355
 		if len(p.Mapping) == 0 {
356 356
 			// If there are no mappings, add a fake mapping to attempt symbolization.
357 357
 			// This is useful for some profiles generated by the golang runtime, which
@@ -367,8 +367,8 @@ mapping:
367 367
 		if execName != "" {
368 368
 			m.File = execName
369 369
 		}
370
-		if buildId != "" {
371
-			m.BuildID = buildId
370
+		if buildID != "" {
371
+			m.BuildID = buildID
372 372
 		}
373 373
 	}
374 374
 }