Question about a poker hand

It’s an “all in” - one of the two players put all his money into the pot, there can be no more betting, so the cards are turned up.