Skip to content

Commit

Permalink
Match function name in Godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
zrhoffman committed Aug 28, 2023
1 parent 3e2f33b commit 931be5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions traffic_ops/v5-client/server_server_capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ const apiServerServerCapabilities = "/server_server_capabilities"
// apiMultipleServersCapabilities is the API version-relative path to the /multiple_servers_capabilities API endpoint.
const apiMultipleServersCapabilities = "/multiple_servers_capabilities"

// CreateServerServerCapabilityV5 assigns a Server Capability to a Server.
// CreateServerServerCapability assigns a Server Capability to a Server.
func (to *Session) CreateServerServerCapability(ssc tc.ServerServerCapabilityV5, opts RequestOptions) (tc.Alerts, toclientlib.ReqInf, error) {
var alerts tc.Alerts
reqInf, err := to.post(apiServerServerCapabilities, opts, ssc, &alerts)
return alerts, reqInf, err
}

// DeleteServerServerCapabilityV5 unassigns a Server Capability from a Server.
// DeleteServerServerCapability unassigns a Server Capability from a Server.
func (to *Session) DeleteServerServerCapability(serverID int, serverCapability string, opts RequestOptions) (tc.Alerts, toclientlib.ReqInf, error) {
if opts.QueryParameters == nil {
opts.QueryParameters = url.Values{}
Expand Down

0 comments on commit 931be5c

Please sign in to comment.