Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimutant committed Feb 29, 2024
1 parent 6beec05 commit 15059a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nutanix/sdks/v4/networking/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ type NetworkingClient struct {
FloatingIPAPIInstance *api.FloatingIpApi
}

func NewNetworkingClient(credentials client.Credentials) (*NetworkingClient, error) { //nolint:all
//nolint:all
func NewNetworkingClient(credentials client.Credentials) (*NetworkingClient, error) {
var baseClient *network.ApiClient

// check if all required fields are present. Else create an empty client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ func flattenIPConfig(pr []import1.IPConfig) []map[string]interface{} {
ipCfgs := make([]map[string]interface{}, len(pr))

for k, v := range pr {
ip := make(map[string]interface{}, 0)
ip := make(map[string]interface{})

ip["ipv4"] = flattenIpv4Config(v.Ipv4)
ip["ipv6"] = flattenIpv6Config(v.Ipv6)
Expand Down

0 comments on commit 15059a7

Please sign in to comment.