diff options
author | Nick Thomas <nick@gitlab.com> | 2021-07-27 09:35:02 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2021-07-27 09:35:02 +0000 |
commit | 82a2153dcc093a99445aedd3734fe7ef868e3a4b (patch) | |
tree | a8084b9c6e3baf279eed8b27999e6813b0407794 /client/gitlabnet.go | |
parent | 1eadd3a61f3955354b4041fd284ba50e2a17864a (diff) | |
parent | 4e81d534c2f2c87ebdfeafb1f8338b17ffdfc708 (diff) | |
download | gitlab-shell-82a2153dcc093a99445aedd3734fe7ef868e3a4b.tar.gz |
Merge branch 'sh-fix-gofmt' into 'main'
Make gofmt check fail if there are any matching files
See merge request gitlab-org/gitlab-shell!500
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) |