Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Jan 14, 2025
1 parent e46eb02 commit 99a1b2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/provider/group_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func testAccCheckGroupResourceExists(name string, groupApiModel *GroupAPIModel)
}

func testAccCheckGroupResourceValues(groupApiModel *GroupAPIModel, name string, description string, variables string) resource.TestCheckFunc {
return func(s *terraform.State) error {
return func(_ *terraform.State) error {
if groupApiModel.URL == "" {
return fmt.Errorf("bad group URL in AAP, expected a URL path, got: %s", groupApiModel.URL)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/host_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ func testAccCheckHostResourceExists(name string, hostApiModel *HostAPIModel) res

// testAccCheckHostResourcesValues verifies that the provided host retrieved from AAP contains the expected values.
func testAccCheckHostResourceValues(hostApiModel *HostAPIModel, name string, description string, variables string) resource.TestCheckFunc {
return func(s *terraform.State) error {
return func(_ *terraform.State) error {
if hostApiModel.URL == "" {
return fmt.Errorf("bad host URL in AAP, expected a URL path, got: %s", hostApiModel.URL)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/inventory_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func testAccCheckInventoryResourceExists(name string, inventory *InventoryAPIMod

// testAccCheckInventoryResourcesValues verifies that the provided inventory retrieved from AAP contains the expected values.
func testAccCheckInventoryResourceValues(inventory *InventoryAPIModel, name string, description string, variables string) resource.TestCheckFunc {
return func(s *terraform.State) error {
return func(_ *terraform.State) error {
if inventory.Id == 0 {
return fmt.Errorf("bad inventory ID in AAP, expected a positive int64, got: %dv", inventory.Id)
}
Expand Down

0 comments on commit 99a1b2c

Please sign in to comment.