Wasted a few hours today..... was cleaning out the master cylinder (unknown make). Nice and clean, plan to leave it “as is”. Touched one of the terminals to the micro switch (brake light switch) mounted on the underside and it just fell away. On close inspection, water had got in along a seam (two halves, glued together) the pin started rusting, split the case open and at the thinnest point it failed...
Mmmmm. Need a new master cylinder? Or an ugly pressure switch sticking out the end? Mounted the small switch in a vice and sliced open the offending edge with a sharp knife. Found some clean brass. Cut down the end of a male crimp on terminal and shaped it to fit in the slot. Got my soldering iron hot and pressed the two bits together with lots of flux and a drop of solder. It worked! Mixed up a small amount of JBWeld and sealed up the gap.
Silly amount of effort for a worthless part, but very satisfying and I can move ahead, without waiting for a parts delivery!