Merge pull request #3979 from milosgajdos/user-agent
Drop docker prefix from storage driver API user agent
This commit is contained in:
commit
5410c55820
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ func NewApp(ctx context.Context, config *configuration.Configuration) *App {
|
|||
if storageParams == nil {
|
||||
storageParams = make(configuration.Parameters)
|
||||
}
|
||||
storageParams["useragent"] = fmt.Sprintf("docker-distribution/%s %s", version.Version, runtime.Version())
|
||||
storageParams["useragent"] = fmt.Sprintf("distribution/%s %s", version.Version, runtime.Version())
|
||||
|
||||
var err error
|
||||
app.driver, err = factory.Create(config.Storage.Type(), storageParams)
|
||||
|
|
Loading…
Reference in a new issue