Skip to content

Commit

Permalink
Fix for interface conversion at metrics helper (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaheerkootteeri authored and vuil committed Oct 17, 2023
1 parent 5bc0fa8 commit 561c882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/telemetry/metrics_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func hashString(str string) string {
func computeEndpointSHAForTAEContext(ctx *configtypes.Context) string {
var orgID, project, space string
if ctx.AdditionalMetadata[tae.OrgIDKey] != nil {
orgID = ctx.AdditionalMetadata[tae.ProjectNameKey].(string)
orgID = ctx.AdditionalMetadata[tae.OrgIDKey].(string)
}
if ctx.AdditionalMetadata[tae.ProjectNameKey] != nil {
project = ctx.AdditionalMetadata[tae.ProjectNameKey].(string)
Expand Down

0 comments on commit 561c882

Please sign in to comment.