Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (proxy *Proxy) UpdateToxic(name string, toxicity float32, attrs Attributes)
return result, nil
}

// RemoveToxic renives the toxic with the given name.
// RemoveToxic removes the toxic with the given name.
func (proxy *Proxy) RemoveToxic(name string) error {
return proxy.client.delete("/proxies/" + proxy.Name + "/toxics/" + name)
}