Skip to content

Commit

Permalink
Fixed null object in Dump-StoreWorkerOnFailureItem
Browse files Browse the repository at this point in the history
$tags is never defined, therefore we can never call .Contains on it. Looks like it should have been called $dumpOnTags
  • Loading branch information
dpaulson45 committed Dec 11, 2018
1 parent c6bef94 commit 27c7265
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ while ($true)
$doc = [xml]$event.ToXml()
$tag = $doc.Event.UserData.EventXML.Tag
$dbGuid = $doc.Event.UserData.EventXML.DatabaseGuid.Trim(@('{', '}')).ToUpper()
if (!($tags.Contains($tag)))
if (!($dumpOnTags.Contains($tag)))
{
"Ignoring failure item with tag: " + $tag
continue
Expand Down

0 comments on commit 27c7265

Please sign in to comment.