Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
LZiHaN committed Jan 2, 2025
1 parent 52e50c2 commit b5e7ea8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions receiver/sqlserverreceiver/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ func TestLoadConfig(t *testing.T) {
SqlserverComputerName: metadata.ResourceAttributeConfig{
Enabled: true,
},
ServerAddress: metadata.ResourceAttributeConfig{
Enabled: true,
},
ServerPort: metadata.ResourceAttributeConfig{
Enabled: true,
},
},
}
expected.ComputerName = "CustomServer"
Expand Down
2 changes: 2 additions & 0 deletions receiver/sqlserverreceiver/testdata/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ sqlserver/named:
enabled: true
sqlserver.instance.name:
enabled: true
server.port:
enabled: true

0 comments on commit b5e7ea8

Please sign in to comment.