Reagan had warned Europeans about them getting into bed with Russia on energy, about how Russia would try to use it as leverage in matters against western European interests.
Of course the effect is the same as if it was Russia that cut it off.
Either way, Trump was right about relying on a single supplier, especially in an area historically volatile.