diff --git a/detectors/azure/vm/vm.go b/detectors/azure/vm/vm.go index addb40d3f09..8b7f94d89da 100644 --- a/detectors/azure/vm/vm.go +++ b/detectors/azure/vm/vm.go @@ -115,9 +115,9 @@ func (detector *resourceDetector) Detect(ctx context.Context) (*resource.Resourc } func (detector *resourceDetector) getJSONMetadata() ([]byte, error) { - PTransport := &http.Transport{Proxy: nil} + pTransport := &http.Transport{Proxy: nil} - client := http.Client{Transport: PTransport} + client := http.Client{Transport: pTransport} req, err := http.NewRequest("GET", detector.endpoint, nil) if err != nil {