Pep Guardiola says his success as a manager is thanks to the education he received under the late Johan Cruyff at Barcelona.