Skip to content

Commit

Permalink
removed print statements from test files
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-ibm authored and hkantare committed Jun 21, 2021
1 parent 7a0ada6 commit 0c41a2e
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_ike_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func checkIKEPolicyDestroy(s *terraform.State) error {

func testAccCheckIBMISIKEPolicyExists(n, policy string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func checkImageDestroy(s *terraform.State) error {

func testAccCheckIBMISImageExists(n, image string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_ipsec_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func checkPolicyDestroy(s *terraform.State) error {

func testAccCheckIBMISIpSecPolicyExists(n, policy string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_networkacls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func checkNetworkACLDestroy(s *terraform.State) error {

func testAccCheckIBMISNetworkACLExists(n, nwACL string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_public_gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func testAccCheckIBMISPublicGatewayDestroy(s *terraform.State) error {

func testAccCheckIBMISPublicGatewayExists(n, publicgw string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_security_group_rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func testAccCheckIBMISSecurityGroupRuleDestroy(s *terraform.State) error {

func testAccCheckIBMISSecurityGroupRuleExists(n, securityGroupRuleID string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_security_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func testAccCheckIBMISSecurityGroupDestroy(s *terraform.State) error {

func testAccCheckIBMISSecurityGroupExists(n, securityGroupID string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_ssh_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func checkKeyDestroy(s *terraform.State) error {

func testAccCheckIBMISKeyExists(n, keyID string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_is_subnet_network_acl_attachment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func checkSubnetNetworkACLAttachmentDestroy(s *terraform.State) error {

func testAccCheckIBMISSubnetNetworkACLAttachmentExists(n, subnetNwACL string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func testAccCheckIBMPIImageDestroy(s *terraform.State) error {
}
func testAccCheckIBMPIImageExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func testAccCheckIBMPIInstanceDestroy(s *terraform.State) error {
}
func testAccCheckIBMPIInstanceExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func testAccCheckIBMPIKeyDestroy(s *terraform.State) error {
}
func testAccCheckIBMPIKeyExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_network_port_attach_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func testAccCheckIBMPINetworkPortAttachDestroy(s *terraform.State) error {
}
func testAccCheckIBMPINetworkPortAttachExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_network_port_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func testAccCheckIBMPINetworkPortDestroy(s *terraform.State) error {
}
func testAccCheckIBMPINetworkPortExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func testAccCheckIBMPINetworkDestroy(s *terraform.State) error {
}
func testAccCheckIBMPINetworkExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_snapshot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func testAccCheckIBMPIInstanceSnapshotDestroy(s *terraform.State) error {
}
func testAccCheckIBMPIInstanceSnapshotExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down
2 changes: 1 addition & 1 deletion ibm/resource_ibm_pi_volume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func testAccCheckIBMPIVolumeDestroy(s *terraform.State) error {
}
func testAccCheckIBMPIVolumeExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
fmt.Println("siv ", s.RootModule().Resources)

rs, ok := s.RootModule().Resources[n]

if !ok {
Expand Down

0 comments on commit 0c41a2e

Please sign in to comment.