Update quobyte client API to v0.1.8
This update picks up https://github.com/quobyte/api/pull/19 which adds the needed `SetTransport` option. With this update, we can add the IP deny list into quobyte operations.
This commit is contained in:
4
vendor/github.com/quobyte/api/quobyte.go
generated
vendored
4
vendor/github.com/quobyte/api/quobyte.go
generated
vendored
@@ -32,6 +32,10 @@ func (client *QuobyteClient) GetAPIRetryPolicy() string {
|
||||
return client.apiRetryPolicy
|
||||
}
|
||||
|
||||
func (client *QuobyteClient) SetTransport(t http.RoundTripper) {
|
||||
client.client.Transport = t
|
||||
}
|
||||
|
||||
// NewQuobyteClient creates a new Quobyte API client
|
||||
func NewQuobyteClient(url string, username string, password string) *QuobyteClient {
|
||||
return &QuobyteClient{
|
||||
|
Reference in New Issue
Block a user