Resident’s dog complaint leads to testy encounter with Mattingly