Skip to content

Commit eda26d9

Browse files
Fixing formatting issues in few files
1 parent 5e4d032 commit eda26d9

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

internal/integrationtest/load_balancer_load_balancer_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,13 @@ var (
146146
"test_network_security_group1", acctest.Required, acctest.Create, acctest.RepresentationCopyWithNewProperties(CoreNetworkSecurityGroupRepresentation, map[string]interface{}{
147147
"vcn_id": acctest.Representation{RepType: acctest.Required, Create: `${oci_core_vcn.test_lb_vcn.id}`},
148148
})) // +
149-
// For laptop testing comment out this line
150-
// Failure to do so results in
151-
// test_helpers.go:535: Step 1/7 error: Error running apply: exit status 1
152-
// [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.14.0
153-
// Error: 404-NotAuthorizedOrNotFound, Authorization failed or requested resource not found.
154-
// Suggestion: Either the resource has been deleted or service Identity Tag Namespace need policy to access this resource.
155-
// DefinedTagsDependencies
149+
// For laptop testing comment out this line
150+
// Failure to do so results in
151+
// test_helpers.go:535: Step 1/7 error: Error running apply: exit status 1
152+
// [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.14.0
153+
// Error: 404-NotAuthorizedOrNotFound, Authorization failed or requested resource not found.
154+
// Suggestion: Either the resource has been deleted or service Identity Tag Namespace need policy to access this resource.
155+
// DefinedTagsDependencies
156156
)
157157

158158
// issue-routing-tag: load_balancer/default
@@ -282,8 +282,8 @@ func TestLoadBalancerLoadBalancerResource_basic(t *testing.T) {
282282
resource.TestCheckResourceAttr(resourceName, "is_private", "false"),
283283
resource.TestCheckResourceAttr(resourceName, "is_request_id_enabled", "true"),
284284
resource.TestCheckResourceAttr(resourceName, "request_id_header", "X-MyRequestB-Id"),
285-
resource.TestCheckResourceAttr(resourceName, "reserved_ips.#", "1"),
286-
resource.TestCheckResourceAttr(resourceName, "security_attributes.%", "2"),
285+
resource.TestCheckResourceAttr(resourceName, "reserved_ips.#", "1"),
286+
resource.TestCheckResourceAttr(resourceName, "security_attributes.%", "2"),
287287
resource.TestCheckResourceAttr(resourceName, "security_attributes.oracle-zpr.sa-test-lbaas.value", "update-zpr-tersi-lbaas"),
288288
resource.TestCheckResourceAttr(resourceName, "security_attributes.oracle-zpr.sa-test-lbaas.mode", "enforce"),
289289
resource.TestCheckResourceAttr(resourceName, "shape", "400Mbps"),

internal/integrationtest/os_management_hub_software_source_remove_packages_management_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ package integrationtest
55

66
import (
77
"fmt"
8+
"strconv"
9+
"testing"
10+
811
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
912
"github.com/hashicorp/terraform-plugin-testing/terraform"
1013
"github.com/oracle/terraform-provider-oci/internal/resourcediscovery"
11-
"strconv"
12-
"testing"
1314

1415
"github.com/oracle/terraform-provider-oci/httpreplay"
1516
"github.com/oracle/terraform-provider-oci/internal/acctest"

internal/service/os_management_hub/os_management_hub_software_source_replace_packages_management_resource.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ package os_management_hub
66
import (
77
"context"
88
"fmt"
9+
"strings"
10+
"time"
11+
912
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry"
1013
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1114
oci_common "github.com/oracle/oci-go-sdk/v65/common"
12-
"strings"
13-
"time"
1415

1516
oci_os_management_hub "github.com/oracle/oci-go-sdk/v65/osmanagementhub"
1617

0 commit comments

Comments
 (0)