Yeah, I try to avoid playing biggish pots with just a pair esp. 10's.
But I think all in is the best play in this case.