Skip to content

Commit f976adb

Browse files
committed
rename variable
1 parent 8ecf5d6 commit f976adb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/src/code_intel_upload.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ func printInferredArguments(out *output.Output) {
189189
// The base of the URL is constructed from the configured Sourcegraph instance.
190190
func makeCodeIntelUploadURL(uploadID int) string {
191191
// Careful: copy by dereference makes a shallow copy, so User is not duplicated.
192-
u := *cfg.endpointURL
192+
url := *cfg.endpointURL
193193
graphqlID := base64.URLEncoding.EncodeToString(fmt.Appendf(nil, `SCIPUpload:%d`, uploadID))
194-
u.Path = codeintelUploadFlags.repo + "/-/code-intelligence/uploads/" + graphqlID
195-
return u.String()
194+
url.Path = codeintelUploadFlags.repo + "/-/code-intelligence/uploads/" + graphqlID
195+
return url.String()
196196
}
197197

198198
type errorWithHint struct {

0 commit comments

Comments
 (0)