Skip to content

Commit

Permalink
fix: network section return
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Jun 8, 2023
1 parent c09e0f9 commit c3bd524
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ require (
github.com/hashicorp/terraform-plugin-go v0.15.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1
github.com/kr/pretty v0.3.1
github.com/orange-cloudavenue/cloudavenue-sdk-go v0.1.1
github.com/vmware/go-vcloud-director/v2 v2.20.0
golang.org/x/exp v0.0.0-20230321023759-10a507213a29
Expand Down Expand Up @@ -55,6 +54,7 @@ require (
github.com/huandu/xstrings v1.4.0 // indirect
github.com/iancoleman/strcase v0.2.0 // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.18 // indirect
Expand Down
3 changes: 1 addition & 2 deletions internal/client/vapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package client
import (
"fmt"

"github.com/kr/pretty"
"github.com/vmware/go-vcloud-director/v2/govcd"
)

Expand Down Expand Up @@ -60,7 +59,7 @@ func (v VAPP) IsVAPPOrgNetwork(networkName string) (bool, error) {
}
}

return false, fmt.Errorf("====== network config %s", pretty.Sprint(vAppNetworkConfig))
return false, nil
}

// IsVAPPNetwork check if it is a vApp network (not vApp Org Network).
Expand Down

0 comments on commit c3bd524

Please sign in to comment.