Skip to content

Commit

Permalink
run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
varunch77 committed Jan 27, 2025
1 parent ff409b4 commit 5bf6914
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions test/metric_value_benchmark/entity_metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,21 +122,21 @@ func (t *EntityMetricsTestRunner) validateTestCase(name string, testCase struct
entity.KeyAttributes.Identifier != testCase.expectedEntity.instanceId {

log.Printf("Entity mismatch for test case '%s':\n"+
"Expected:\n"+
" Type: %s\n"+
" ResourceType: %s\n"+
" InstanceId: %s\n"+
"Got:\n"+
" Type: %s\n"+
" ResourceType: %s\n"+
" InstanceId: %s",
name,
testCase.expectedEntity.entityType,
testCase.expectedEntity.resourceType,
testCase.expectedEntity.instanceId,
entity.KeyAttributes.Type,
entity.KeyAttributes.ResourceType,
entity.KeyAttributes.Identifier)
"Expected:\n"+
" Type: %s\n"+
" ResourceType: %s\n"+
" InstanceId: %s\n"+
"Got:\n"+
" Type: %s\n"+
" ResourceType: %s\n"+
" InstanceId: %s",
name,
testCase.expectedEntity.entityType,
testCase.expectedEntity.resourceType,
testCase.expectedEntity.instanceId,
entity.KeyAttributes.Type,
entity.KeyAttributes.ResourceType,
entity.KeyAttributes.Identifier)
return testResult
}

Expand Down

0 comments on commit 5bf6914

Please sign in to comment.