mirror of
https://github.com/rclone/rclone.git
synced 2025-06-07 05:44:40 +08:00
Factor UserAgent to fs and move Version to fs
This commit is contained in:
@ -107,9 +107,10 @@ func swiftConnection(name string) (*swift.Connection, error) {
|
||||
return nil, errors.New("auth not found")
|
||||
}
|
||||
c := &swift.Connection{
|
||||
UserName: userName,
|
||||
ApiKey: apiKey,
|
||||
AuthUrl: authUrl,
|
||||
UserName: userName,
|
||||
ApiKey: apiKey,
|
||||
AuthUrl: authUrl,
|
||||
UserAgent: fs.UserAgent,
|
||||
}
|
||||
err := c.Authenticate()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user