Coalition partner Winston Peters says he should have been warned ahead of Prime Minister Christopher Luxon's leadership vote this week.