
Automatic merge from submit-queue vSphere Cloud provider null pointer exception This PR addresses issue #31823. SelectByType function in govmomi will panic if deviceType is not Array, Chan, Map, Ptr, or Slice. Also checking if vmDevices or vm are nil, there is nothing to cleanup.