VirtualBox

Changeset 78605 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 20, 2019 4:54:45 PM (6 years ago)
Author:
vboxsync
Message:

bugref:9416. scm fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r78604 r78605  
    14041404
    14051405            ComPtr<IMachine> machine;
    1406             hrc = mVirtualBox->FindMachine(Bstr(strVMName.c_str()).raw(), machine.asOutParam()); 
     1406            hrc = mVirtualBox->FindMachine(Bstr(strVMName.c_str()).raw(), machine.asOutParam());
    14071407            if (SUCCEEDED(hrc))
    14081408            {
     
    14221422            if (aVBoxValues.size() == 0)
    14231423            {
    1424                 hrc = setErrorVrc(VERR_NOT_FOUND, "%s: Cloud Instance Id wasn't found", __FUNCTION__);         
     1424                hrc = setErrorVrc(VERR_NOT_FOUND, "%s: Cloud Instance Id wasn't found", __FUNCTION__);
    14251425                break;
    14261426            }
     
    14611461        return hrc;
    14621462    }
    1463    
     1463
    14641464    if (FAILED(hrc))
    14651465    {
     
    14671467        Utf8Str generalRollBackErrorMessage("Rollback action for Import Cloud operation failed."
    14681468                                            "Some leavings may exist on the local disk or in the Cloud.");
    1469         /* 
     1469        /*
    14701470         * Roll-back actions.
    14711471         * we finish here if:
     
    16521652                    if (aVBoxValues.size() != 0)
    16531653                        strOsType = aVBoxValues[0];
    1654                     vsys.strTypeVBox = strOsType;     
     1654                    vsys.strTypeVBox = strOsType;
    16551655                    LogRel(("%s: OS type is %s\n", __FUNCTION__, strOsType.c_str()));
    16561656                }
     
    19661966
    19671967            /* What to do here?
    1968              * Delete or not the downloaded object? 
    1969              * For now: 
     1968             * Delete or not the downloaded object?
     1969             * For now:
    19701970             *  - check the list of imported images, detach them and next delete.
    19711971             *  - check the registration of created VM and delete one.
     
    19761976             * After adding extracted files into the actual VSD the returned list will contain not only the
    19771977             * record about the downloaded object but also the records about the extracted files from this object.
    1978              * It's needed to go through this list to find the record about the downloaded object. 
     1978             * It's needed to go through this list to find the record about the downloaded object.
    19791979             * But it was the first record added into the list, so aVBoxValues[0] should be correct here.
    19801980             */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette