I dunno about this situation, but most K-9 units have a specific handler, as it helps form a bond and helps with training. That officer is effectively also his owner, and you can’t jail him without dealing with the dog in some way. Kennels are a default option for that, not dog-jail.
But yeah, the dog was trained to attack, and according to the article, was just not supposed to be released on a surrendering man, so the dog did his job just fine. Depriving the dog of proper care is another consequence we should lay at the officer’s feet.