Dust caps not fitting

I had a problem on a '72 Challenger after changing bearings. The old cap ws a loose fit. Put it over the anvil end of my bench vise and tapped the edge with a hammer.
This thinned the metal a little which expanded the diameter. Made the fit much tighter and it didn't fall off.