Some officers might have reached for a gun, a move we've seen too often in the past. But Barrett helped a bystander onto the hood of his police cruiser - and reached for his baton.
"It was a distraction," he explained. "We were right by a high school."
While it's hardly certain these dogs would have attacked anyone, Barrett didn't want to take any chances with kids getting out of school at around that time.
While wielding his baton, Barrett radioed for animal control officers. They arrived in about 10 minutes and took custody of the dogs.
Both dogs, healthy and unharmed, were returned to their owner, who was given a citation for letting the dogs run at large.
Meanwhile Barrett is earning praise for defusing a situation that could have easily ended in humans and dogs getting hurt.
"I was very happy to see the officer's creative thinking in using the least force necessary in this situation and waiting for animal control," Edith Williams, of the advocacy group Idaho for Non Lethal Canine Encounter Training, told The Dodo.
The encounter reminded Williams of another encounter between a police officer and a couple of angry dogs. Last year, officer David Gomez also used his baton to distract dogs running loose in a residential Idaho neighborhood.