Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroon-Dweikat-Ntx committed Dec 16, 2024
1 parent 4bdb65f commit c55a4b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nutanix/services/prismv2/resource_nutanix_backup_target_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func ResourceNutanixBackupTargetV2() *schema.Resource {
"rpo_in_minutes": {
Type: schema.TypeInt,
Required: true,
ValidateFunc: validation.IntBetween(60, 1440),
ValidateFunc: validation.IntBetween(60, 1440), //nolint:gomnd
},
},
},
Expand Down Expand Up @@ -422,7 +422,7 @@ func expandProviderConfig(providerConfig interface{}) *management.AWSS3Config {
}
providerConfigI := providerConfig.([]interface{})

if providerConfigI == nil || len(providerConfigI) == 0 {
if len(providerConfigI) == 0 {
return nil
}

Expand Down

0 comments on commit c55a4b1

Please sign in to comment.