Commit 24359922 authored by baldwinlouie's avatar baldwinlouie Committed by Yas Naoi
Browse files

Issue #3312472 by baldwinlouie, yas, TamakiFujino: Fix a bug where AWS Cloud...

Issue #3312472 by baldwinlouie, yas, TamakiFujino: Fix a bug where AWS Cloud network interface name is not saved upon entity creation
parent 4f09c5af
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1040,9 +1040,7 @@ class AwsCloudOperationsService implements AwsCloudOperationsServiceInterface {
    $entity->setNetworkInterfaceId($result['NetworkInterface']['NetworkInterfaceId']);
    $entity->save();

    if ($this->ec2Service instanceof OpenStackRestService) {
    $this->updateNameAndCreatedByTags($entity, $entity->getNetworkInterfaceId());
    }

    // Update the VPC.
    $this->ec2Service->updateNetworkInterfaces([