Skip to content

Commit

Permalink
Changed method for modfiy SSL and Client from PUT to PATCH to fix inh…
Browse files Browse the repository at this point in the history
…eritence problems where all boxes are checked and should not be on import
  • Loading branch information
Hoffmann authored and Hoffmann committed Jul 12, 2019
1 parent 43c6dd6 commit 8240345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ltm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ func (b *BigIP) DeleteServerSSLProfile(name string) error {
// ModifyServerSSLProfile allows you to change any attribute of a sever-ssl profile.
// Fields that can be modified are referenced in the VirtualServer struct.
func (b *BigIP) ModifyServerSSLProfile(name string, config *ServerSSLProfile) error {
return b.put(config, uriLtm, uriProfile, uriServerSSL, name)
return b.patch(config, uriLtm, uriProfile, uriServerSSL, name)
}

// ClientSSLProfiles returns a list of client-ssl profiles.
Expand Down Expand Up @@ -1883,7 +1883,7 @@ func (b *BigIP) DeleteClientSSLProfile(name string) error {
// ModifyClientSSLProfile allows you to change any attribute of a client-ssl profile.
// Fields that can be modified are referenced in the ClientSSLProfile struct.
func (b *BigIP) ModifyClientSSLProfile(name string, config *ClientSSLProfile) error {
return b.put(config, uriLtm, uriProfile, uriClientSSL, name)
return b.patch(config, uriLtm, uriProfile, uriClientSSL, name)
}

// Nodes returns a list of nodes.
Expand Down

0 comments on commit 8240345

Please sign in to comment.