Skip to content

Commit

Permalink
adding formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RavinderReddyF5 committed Dec 28, 2023
1 parent 26edc10 commit e21650c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bigip/datasource_bigip_ltm_datagroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func dataSourceBigipLtmDataGroupRead(ctx context.Context, d *schema.ResourceData
log.Printf("[INFO] Retrieving Data Group List %s", name)
dataGroup, err := client.GetInternalDataGroup(name)
if err != nil {
return diag.FromErr(fmt.Errorf("Error retrieving Data Group List %s: %v ", name, err))
return diag.FromErr(fmt.Errorf("error retrieving Data Group List %s: %v ", name, err))
}
if dataGroup == nil {
log.Printf("[DEBUG] Data Group List %s not found, removing from state", name)
Expand All @@ -82,7 +82,7 @@ func dataSourceBigipLtmDataGroupRead(ctx context.Context, d *schema.ResourceData
records = append(records, dgRecord)
}
if err := d.Set("record", records); err != nil {
return diag.FromErr(fmt.Errorf("Error updating records in state for Data Group List %s: %v ", name, err))
return diag.FromErr(fmt.Errorf("error updating records in state for Data Group List %s: %v ", name, err))
}
d.SetId(dataGroup.FullPath)
return nil
Expand Down
2 changes: 1 addition & 1 deletion bigip/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func providerConfigure(d *schema.ResourceData, terraformVersion string) (interfa
}
if !d.Get("validate_certs_disable").(bool) {
if d.Get("trusted_cert_path").(string) == "" {
return nil, diag.FromErr(fmt.Errorf("Valid Trust Certificate path not provided using :%+v ", "trusted_cert_path"))
return nil, diag.FromErr(fmt.Errorf("valid Trust Certificate path not provided using :%+v ", "trusted_cert_path"))
}
config.TrustedCertificate = d.Get("trusted_cert_path").(string)
}
Expand Down
2 changes: 1 addition & 1 deletion bigip/resource_bigip_as3.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func resourceBigipAs3Update(ctx context.Context, d *schema.ResourceData, meta in
log.Printf("[DEBUG] successfulTenants :%+v", successfulTenants)
if err != nil {
if successfulTenants == "" {
return diag.FromErr(fmt.Errorf("Error updating json %s: %v", tenantList, err))
return diag.FromErr(fmt.Errorf("error updating json %s: %v", tenantList, err))
}
_ = d.Set("tenant_list", successfulTenants)
if len(successfulTenants) != len(tenantList) {
Expand Down
3 changes: 1 addition & 2 deletions bigip/resource_bigip_ltm_profile_ssl_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@ func resourceBigipLtmProfileClientSsl() *schema.Resource {
"cipher_group": {
Type: schema.TypeString,
Optional: true,
Computed: true,
// Default: "none",
Computed: true,
Description: "Cipher group for the ssl client profile",
ConflictsWith: []string{"ciphers"},
},
Expand Down
1 change: 1 addition & 0 deletions bigip/resource_bigip_ltm_profile_ssl_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package bigip
import (
"fmt"
"testing"

bigip "github.com/f5devcentral/go-bigip"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down

0 comments on commit e21650c

Please sign in to comment.