Skip to content

Commit

Permalink
Fix checks
Browse files Browse the repository at this point in the history
Signed-off-by: Dainius Serplis <[email protected]>
  • Loading branch information
Didainius committed Dec 10, 2024
1 parent 1fec10a commit 24681c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions vcd/resource_generic_crud.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@ import (
"github.com/vmware/go-vcloud-director/v3/util"
)

// type operationType string

// const (
// crudCreate operationType = "CREATE"
// crudUpdate operationType = "UPDATE"
// )

const (
crudCreate = iota
crudUpdate
crudRead
crudDelete
)

// crudConfig defines a generic approach for managing Terraform resources where the parent entity is
// a standard OpenAPI entity and the outer entity should satisfy 'updateDeleter' type constraint
// (have 'Update' and 'Delete' pointer receiver methods)
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/tm_provider_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "vcd_tm_provider_gateway" "demo" {
description = "Terraform Provider Gateway"
region_id = data.vcd_tm_region.demo.id
nsxt_tier0_gateway_id = data.vcd_tm_tier0_gateway.demo.id
ip_space_ids = [ data.vcd_tm_ip_space.demo.id, data.vcd_tm_ip_space.demo2.id]
ip_space_ids = [data.vcd_tm_ip_space.demo.id, data.vcd_tm_ip_space.demo2.id]
}
```
Expand Down

0 comments on commit 24681c0

Please sign in to comment.