Brake fluid leak when changing shoes?

No, I didn’t remove a bleeder screw or the reservoir cap. Guess I deserve a dope slap for that. After I saw the brake fluid leak out I went and removed the cap. It didn’t seem that tight but it could have been sealed I suppose.