Nobody’s answered yet so I’ll suggest a DIY solution. Might work, might not.
If the leg is metal, take a high speed metal drill bit sized just a tiny fraction smaller than the dimple, drill out the center of the dimple, then use a ball-peen hammer, with perhaps a hardwood block, to tap the edges down level with the hole, or use a mini sanding disk with a Dremel tool or hand drill, to file down the edge. You can “sneak up” on this repair in stages, going from under-sized to to bigger and bigger holes, until you’ve eliminated enough of the surface irregularity to make the leg slide in and out again.
A hole in the leg is going to create a weak spot. How weak depends on how big the hole and how much metal remains around it. Could be that if the ding is small, the hole doesn’t compromise the integrity enough to matter. Especially if the leg is rarely extended enough to expose the holed section.
If the ding is really large, then you might as well replace the leg segment altogether. Me, worst-case, I’d probably try some JB Weld metal on it, backing it up with some blue tape on the inside, then sanding it flush on the outside. But that depends on if the leg segment is H-shaped, D-dhaped, O-shaped, or C-shaped.