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 committed Mar 11, 2024
1 parent c74720c commit 665f9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/processors/add_cloud_metadata/provider_azure_vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func newAzureMetadataFetcher(
return azFetcher, nil
}

// NewClusterClient variable is assigned an anonymous function that returns a NewManagedClustersClient
// NewClusterClient variable is assigned an anonymous function that returns a new ManagedClustersClient.
var NewClusterClient func(clientFactory *armcontainerservice.ClientFactory) *armcontainerservice.ManagedClustersClient = func(clientFactory *armcontainerservice.ClientFactory) *armcontainerservice.ManagedClustersClient {
return clientFactory.NewManagedClustersClient()
}
Expand Down

0 comments on commit 665f9d5

Please sign in to comment.