Changing argument name from urlStr to location. Originally this postfix was added to avoid name collision with the url package. InsercureSkipVerify was accidentally made private.

This commit is contained in:
Renan DelValle 2019-06-10 11:13:07 -07:00
parent a00eb4ff39
commit ee9fd9802e
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
3 changed files with 7 additions and 84 deletions

View file

@ -32,9 +32,10 @@ import (
"time"
"github.com/apache/thrift/lib/go/thrift"
"github.com/pkg/errors"
"github.com/paypal/gorealis/gen-go/apache/aurora"
"github.com/paypal/gorealis/response"
"github.com/pkg/errors"
)
const VERSION = "1.21.1"
@ -199,7 +200,7 @@ func BackOff(b Backoff) ClientOption {
}
}
func insecureSkipVerify(insecureSkipVerify bool) ClientOption {
func InsecureSkipVerify(insecureSkipVerify bool) ClientOption {
return func(config *RealisConfig) {
config.insecureSkipVerify = insecureSkipVerify
}