Guardiola: 'City has learned from Barca thrashing'