Skip to content

Commit

Permalink
Update libbeat/processors/add_cloud_metadata/provider_azure_vm.go
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
  • Loading branch information
MichaelKatsoulis and andrewkroh authored Mar 8, 2024
1 parent 17a1286 commit 99db284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libbeat/processors/add_cloud_metadata/provider_azure_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ var azureVMMetadataFetcher = provider{
}

// fetchMetadata fetches azure vm metadata from
// 1. Azure metadata endpoint with httpMetadataFetcher
// 2. Azure Managed Clusters using azure sdk with genericMetadataFetcher
// 1. Azure metadata endpoint with httpMetadataFetcher

Check failure on line 128 in libbeat/processors/add_cloud_metadata/provider_azure_vm.go

View workflow job for this annotation

GitHub Actions / lint (windows)

File is not `goimports`-ed with -local github.com/elastic (goimports)
// 2. Azure Managed Clusters using azure sdk with genericMetadataFetcher
func (az *azureMetadataFetcher) fetchMetadata(ctx context.Context, client http.Client) result {
res := result{provider: az.provider, metadata: mapstr.M{}, err: nil}
logger := logp.NewLogger("add_cloud_metadata")
Expand Down

0 comments on commit 99db284

Please sign in to comment.