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

Issue #3263209 by baldwinlouie, yas: Hotfix - Fix VPC selection during Security Group Copy

parent 963e5472
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -105,7 +105,8 @@ class SecurityGroupCopyForm extends SecurityGroupEditForm {
    $this->entity = $entity;
    $this->trimTextfields($form, $form_state);

    // Load to the VPC to determine whether to permissions_to_revoke Cidr and/or Ip6Cidr.
    // Load to the VPC to determine whether to permissions_to_revoke Cidr and/or
    // Ip6Cidr.
    $vpc = $this->getVpc($form_state->getValue('vpc_id'), $entity->getCloudContext());
    if (empty($vpc)) {
      // Cannot load VPC, set an error message and return.