Skip to content

Commit 156fc62

Browse files
Read-DbaXEFile: Fix database_name and other action columns being empty (#10221)
1 parent 7240105 commit 156fc62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/Read-DbaXEFile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function Read-DbaXEFile {
148148
}
149149

150150
foreach ($key in $event.Actions.Keys) {
151-
$hash[$key] = $event.Actions[$key]
151+
$hash[($key -Split '\.')[-1]] = $event.Actions[$key]
152152
}
153153

154154
foreach ($key in $event.Fields.Keys) {

0 commit comments

Comments
 (0)