Rename doVmAction to doEjectAction

Changing name to more suitable one

Tested:
Simple code change, compiles.

Change-Id: I95bdb5d15ae19bcc9197a04a5c312b1fc5131b08
Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
Signed-off-by: Ed Tanous <edtanous@google.com>
diff --git a/redfish-core/lib/virtual_media.hpp b/redfish-core/lib/virtual_media.hpp
index 5d5ab6b..51380a9 100644
--- a/redfish-core/lib/virtual_media.hpp
+++ b/redfish-core/lib/virtual_media.hpp
@@ -732,9 +732,9 @@
  *
  * All BMC state properties will be retrieved before sending reset request.
  */
-inline void doVmAction(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
-                       const std::string& service, const std::string& name,
-                       bool legacy)
+inline void doEjectAction(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
+                          const std::string& service, const std::string& name,
+                          bool legacy)
 {
 
     // Legacy mount requires parameter with image
@@ -943,14 +943,14 @@
                     if (lastIndex != std::string::npos)
                     {
                         // Proxy mode
-                        doVmAction(asyncResp, service, resName, false);
+                        doEjectAction(asyncResp, service, resName, false);
                     }
 
                     lastIndex = path.rfind("Legacy");
                     if (lastIndex != std::string::npos)
                     {
                         // Legacy mode
-                        doVmAction(asyncResp, service, resName, true);
+                        doEjectAction(asyncResp, service, resName, true);
                     }
 
                     return;