Skip to content

Commit

Permalink
Update detectors/azure/vm/vm.go
Browse files Browse the repository at this point in the history
Co-authored-by: David Ashpole <[email protected]>
  • Loading branch information
pyohannes and dashpole committed May 30, 2024
1 parent 06545c5 commit 50750bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions detectors/azure/vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 50750bd

Please sign in to comment.