Guardiola’s side made heavy weather of beating Leicester, with Shinji Okazaki’s spectacular volley bringing the visitors back into the game just before halftime.
Craig Shakespeare’s side looked set to equalise when Riyad Mahrez was tripped by Gael Clichy 15 minutes from the end, but the winger slipped as he scored the resulting penalty, touching the ball twice and causing the goal to be ruled out.
“In the second half, we didn’t know whether to attack or defend. You have to understand how important the game was for everybody,” Guardiola said.
“When you are in the middle of that, you are not sure if you defend or attack.
“But with the 10 minutes of injury time we had at the end, they defended quite well, so congratulations to the team. We are trying to finish the season well.”
Leicester manager Shakespeare acknowledged the decision to rule out Mahrez’s penalty was the right one.
However, he felt that City’s first goal should not have stood, with Raheem Sterling swinging a leg at Silva’s goal-bound shot, and missing it, while standing in an offside position.
“It is a freak penalty, a double touch. Clearly the letter of the law states it doesn’t stand,” Shakespeare said.
“What I will say in terms of the letter of the law an eagle eyed official probably notices the encroachment of two Manchester City players but you don’t often get that these days.
“Maybe he can pull it back but in real time it happens really quickly.
“For the first goal, I felt Sterling made an effort for the ball but I wasn’t sure if he is in an offside position.
“Having seen the replay, I can see he is in an offside position. It is a clear offside decision.”
Support InfoStride News' Credible Journalism: Only credible journalism can guarantee a fair, accountable and transparent society, including democracy and government. It involves a lot of efforts and money. We need your support. Click here to Donate