From ea542c2e838a01b4cf2dc30fcc9928b09a865c25 Mon Sep 17 00:00:00 2001 From: RavinderReddyF5 Date: Wed, 25 Nov 2020 22:44:01 +0530 Subject: [PATCH] vendor update for v1.5.x --- go.mod | 4 +-- go.sum | 8 ++--- .../github.com/f5devcentral/go-bigip/bigiq.go | 20 +++++------ .../github.com/f5devcentral/go-bigip/ltm.go | 36 +++++++++---------- vendor/modules.txt | 4 +-- 5 files changed, 36 insertions(+), 36 deletions(-) diff --git a/go.mod b/go.mod index c76144ab8..b87e2eef1 100644 --- a/go.mod +++ b/go.mod @@ -6,8 +6,8 @@ module github.com/F5Networks/terraform-provider-bigip require ( - github.com/f5devcentral/go-bigip v0.0.0-20201023175349-07af362653f5 - github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201014184950-5a84faa373bd + github.com/f5devcentral/go-bigip v0.0.0-20201125160952-63115d82d167 + github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201125160952-63115d82d167 github.com/google/uuid v1.1.1 github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect diff --git a/go.sum b/go.sum index 05b44ac12..ff2919abe 100644 --- a/go.sum +++ b/go.sum @@ -36,10 +36,10 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/f5devcentral/go-bigip v0.0.0-20201023175349-07af362653f5 h1:aSvAWr81NyAZwoUnGkmuWlGmvhH30eEi9+nD7HWM6a8= -github.com/f5devcentral/go-bigip v0.0.0-20201023175349-07af362653f5/go.mod h1:JZj/iVxDmEnGPyEwuNj7x0fuH2CtUBbD2J48MMp/SE8= -github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201014184950-5a84faa373bd h1:fNTYTEyb1JbzCym7cc0SqO41gAkY6uep57dd+e9/IDU= -github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201014184950-5a84faa373bd/go.mod h1:1Ly3xA1+0ydxV5iDxUBmOt4saqtbFZmxFxcRCcs6Xfk= +github.com/f5devcentral/go-bigip v0.0.0-20201125160952-63115d82d167 h1:9d8V3iAbVxSS0qcXx979wN1AWZ6Ugyat6XRcU0CK+RQ= +github.com/f5devcentral/go-bigip v0.0.0-20201125160952-63115d82d167/go.mod h1:JZj/iVxDmEnGPyEwuNj7x0fuH2CtUBbD2J48MMp/SE8= +github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201125160952-63115d82d167 h1:Dx+N6MgcRUDHnPX5JBVpOz32brPwXr7PFrDe+LDqbsk= +github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201125160952-63115d82d167/go.mod h1:1Ly3xA1+0ydxV5iDxUBmOt4saqtbFZmxFxcRCcs6Xfk= github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= diff --git a/vendor/github.com/f5devcentral/go-bigip/bigiq.go b/vendor/github.com/f5devcentral/go-bigip/bigiq.go index 545bda252..c83f358b2 100644 --- a/vendor/github.com/f5devcentral/go-bigip/bigiq.go +++ b/vendor/github.com/f5devcentral/go-bigip/bigiq.go @@ -20,7 +20,7 @@ const ( uriMembers = "members" uriTasks = "tasks" uriManagement = "member-management" - uriPurchased = "purchased-pool" + uriPurchased = "purchased-pool" ) type BigiqDevice struct { @@ -204,15 +204,15 @@ func (b *BigIP) GetPoolType(poolName string) (*regKeyPool, error) { return &pool, nil } } - err, _ = b.getForEntity(&self, uriMgmt, uriCm, uriDevice, uriLicensing, uriPool, uriPurchased, uriLicenses) - if err != nil { - return nil, err - } - for _, pool := range self.RegKeyPoollist { - if pool.Name == poolName { - return &pool, nil - } - } + err, _ = b.getForEntity(&self, uriMgmt, uriCm, uriDevice, uriLicensing, uriPool, uriPurchased, uriLicenses) + if err != nil { + return nil, err + } + for _, pool := range self.RegKeyPoollist { + if pool.Name == poolName { + return &pool, nil + } + } return nil, nil } diff --git a/vendor/github.com/f5devcentral/go-bigip/ltm.go b/vendor/github.com/f5devcentral/go-bigip/ltm.go index 167b1eb8c..9556a9aee 100644 --- a/vendor/github.com/f5devcentral/go-bigip/ltm.go +++ b/vendor/github.com/f5devcentral/go-bigip/ltm.go @@ -414,8 +414,8 @@ type CookiePersistenceProfile struct { HashLength int `json:"hashLength,omitempty"` HashOffset int `json:"hashOffset,omitempty"` HTTPOnly string `json:"httponly,omitempty"` - Method string `json:"method,omitempty"` - Secure string `json:"secure,omitempty"` + Method string `json:"method,omitempty"` + Secure string `json:"secure,omitempty"` } // DestAddrPersistenceProfiles contains a list of all dest-addr profiles @@ -1903,10 +1903,10 @@ func (b *BigIP) GetServerSSLProfile(name string) (*ServerSSLProfile, error) { // CreateServerSSLProfile creates a new server-ssl profile on the BIG-IP system. func (b *BigIP) CreateServerSSLProfile(config *ServerSSLProfile) error { - /*config := &ServerSSLProfile{ - Name: name, - DefaultsFrom: parent, - }*/ + // config := &ServerSSLProfile{ + // Name: name, + // DefaultsFrom: parent, + // } return b.post(config, uriLtm, uriProfile, uriServerSSL) } @@ -1954,10 +1954,10 @@ func (b *BigIP) GetClientSSLProfile(name string) (*ClientSSLProfile, error) { // CreateClientSSLProfile creates a new client-ssl profile on the BIG-IP system. func (b *BigIP) CreateClientSSLProfile(config *ClientSSLProfile) error { - /* config := &ClientSSLProfile{ - Name: name, - DefaultsFrom: parent, - }*/ + // config := &ClientSSLProfile{ + // Name: name, + // DefaultsFrom: parent, + // } return b.post(config, uriLtm, uriProfile, uriClientSSL) } @@ -2859,14 +2859,14 @@ func (b *BigIP) GetFastl4(name string) (*Fastl4, error) { // =============== func (b *BigIP) CreateHttpcompress(httpcompress *Httpcompress) error { - /*httpcompress := &Httpcompress{ - Name: name, - DefaultsFrom: defaultsFrom, - UriExclude: uriExclude, - UriInclude: uriInclude, - ContentTypeInclude: contentTypeInclude, - ContentTypeExclude: contentTypeExclude, - }*/ + // httpcompress := &Httpcompress{ + // Name: name, + // DefaultsFrom: defaultsFrom, + // UriExclude: uriExclude, + // UriInclude: uriInclude, + // ContentTypeInclude: contentTypeInclude, + // ContentTypeExclude: contentTypeExclude, + // } return b.post(httpcompress, uriLtm, uriProfile, uriHttpcompress) } diff --git a/vendor/modules.txt b/vendor/modules.txt index ac6faaa47..10dc65e46 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -56,9 +56,9 @@ github.com/bgentry/go-netrc/netrc github.com/bgentry/speakeasy # github.com/davecgh/go-spew v1.1.1 github.com/davecgh/go-spew/spew -# github.com/f5devcentral/go-bigip v0.0.0-20201023175349-07af362653f5 +# github.com/f5devcentral/go-bigip v0.0.0-20201125160952-63115d82d167 github.com/f5devcentral/go-bigip -# github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201014184950-5a84faa373bd +# github.com/f5devcentral/go-bigip/f5teem v0.0.0-20201125160952-63115d82d167 github.com/f5devcentral/go-bigip/f5teem # github.com/fatih/color v1.7.0 github.com/fatih/color