View attachment 342426
Attached screenshot from Heiden Tuning, of the "hard line" . It definitely looks like both ends are identical, and as far as I know, the caliper connection is 10 mm. Did you by any chance measure the small thread diameter, i.e inside the female thread? That would not be correct. Nominal diameter is always measured as OD on the male thread. (Sorry if I am teaching you to suck eggs.....)
Definitely 8mm - put a vernier on the one on there at the moment, which I reckon is the original fitment.