Merge pull request #2031 from ahmetalpbalkan/swift-fix
driver/swift: Fix go vet warning
This commit is contained in:
commit
93a48e361c
1 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ func (factory *swiftDriverFactory) Create(parameters map[string]interface{}) (st
|
|||
}
|
||||
|
||||
type driver struct {
|
||||
Conn swift.Connection
|
||||
Conn *swift.Connection
|
||||
Container string
|
||||
Prefix string
|
||||
BulkDeleteSupport bool
|
||||
|
@ -177,7 +177,7 @@ func New(params Parameters) (*Driver, error) {
|
|||
TLSClientConfig: &tls.Config{InsecureSkipVerify: params.InsecureSkipVerify},
|
||||
}
|
||||
|
||||
ct := swift.Connection{
|
||||
ct := &swift.Connection{
|
||||
UserName: params.Username,
|
||||
ApiKey: params.Password,
|
||||
AuthUrl: params.AuthURL,
|
||||
|
@ -888,7 +888,7 @@ func (w *writer) waitForSegmentsToShowUp() error {
|
|||
}
|
||||
|
||||
type segmentWriter struct {
|
||||
conn swift.Connection
|
||||
conn *swift.Connection
|
||||
container string
|
||||
segmentsPath string
|
||||
segmentNumber int
|
||||
|
|
Loading…
Reference in a new issue