Scalingo/go-scalingo

No User-Agent is sent to auth service

Soulou opened this issue · 0 comments

[DEBUG]2020/02/11 11:49:28 [API] POST https://auth.scalingo.com/v1/tokens/exchange
[DEBUG]2020/02/11 11:49:28       User Agent: 
[DEBUG]2020/02/11 11:49:28       Headers: map[User-Agent:[]]
[DEBUG]2020/02/11 11:49:28       Params: map[]
[DEBUG]2020/02/11 11:49:28       Request ID: 9cf5cf78-bbae-47a4-975c-1eedcce3de18
[DEBUG]2020/02/11 11:49:28       Duration: 109.349754ms
```

There should be one like to the API

```
[DEBUG]2020/02/11 11:49:28       Headers: map[User-Agent:[Scalingo CLI v1.16.5]]

```