From c40d5043e1db859cad312f2bc379c6a02a43d032 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Fri, 3 Jul 2020 16:41:35 +0300 Subject: [PATCH] cmd/uplink: pass useragent flag to library Change-Id: I8cf12c978c01eca968086560be0c28809eb2ba7d --- cmd/uplink/cmd/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/uplink/cmd/root.go b/cmd/uplink/cmd/root.go index 3f1d9283b..eefd37fb1 100644 --- a/cmd/uplink/cmd/root.go +++ b/cmd/uplink/cmd/root.go @@ -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 {