diff options
author | Stan Hu <stanhu@gmail.com> | 2021-07-26 16:22:34 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2021-07-26 16:22:34 -0700 |
commit | 4e81d534c2f2c87ebdfeafb1f8338b17ffdfc708 (patch) | |
tree | a8084b9c6e3baf279eed8b27999e6813b0407794 /client/gitlabnet.go | |
parent | 0997266fc03b0851e4ef52d25dbe8b44bdba7de7 (diff) | |
download | gitlab-shell-4e81d534c2f2c87ebdfeafb1f8338b17ffdfc708.tar.gz |
Fix formatting via make fmt
Diffstat (limited to 'client/gitlabnet.go')
-rw-r--r-- | client/gitlabnet.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/gitlabnet.go b/client/gitlabnet.go index a262d93..f71c110 100644 --- a/client/gitlabnet.go +++ b/client/gitlabnet.go @@ -132,9 +132,9 @@ func (c *GitlabNetClient) DoRequest(ctx context.Context, method, path string, da start := time.Now() response, err := c.httpClient.Do(request) fields := log.Fields{ - "method": method, - "url": request.URL.String(), - "duration_ms": time.Since(start) / time.Millisecond, + "method": method, + "url": request.URL.String(), + "duration_ms": time.Since(start) / time.Millisecond, } logger := log.WithContextFields(ctx, fields) |