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 authored May 30, 2024
1 parent 785f02c commit 3669c28
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 3669c28

Please sign in to comment.