Wiktionary
put a rod in pickle
vb. To prepare a particular reproof, punishment, or penalty for future application.