It was an unconsitutional search, period.
The officer wasn’t afraid of the dog (unless he possesses an IQ in the single digits). He saw an opportunity to shoot a dog and took it.
That’s ruthlessness, not cowardice.