As long as it cleared, all is good.
Unfortunately, our trucks are prone to temporarily glitching idiot lights if the boot up doesn't run perfectly.
I've been lucky with my Gen3, but my Gen2 must have seen the check engine a few times, always cleared by the 2nd or 3rd restart.