cmd/uplink: pass useragent flag to library

Change-Id: I8cf12c978c01eca968086560be0c28809eb2ba7d
This commit is contained in:
Egon Elbre 2020-07-03 16:41:35 +03:00
parent 35b709ba18
commit c40d5043e1

View File

@ -91,6 +91,7 @@ func (cliCfg *UplinkFlags) getProject(ctx context.Context, encryptionBypass bool
}
uplinkCfg := uplink.Config{}
uplinkCfg.UserAgent = cliCfg.Client.UserAgent
uplinkCfg.DialTimeout = cliCfg.Client.DialTimeout
if encryptionBypass {