aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/bugcmd.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/geth/bugcmd.go')
-rw-r--r--cmd/geth/bugcmd.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/geth/bugcmd.go b/cmd/geth/bugcmd.go
index 51187ac90..7e9a8ccc7 100644
--- a/cmd/geth/bugcmd.go
+++ b/cmd/geth/bugcmd.go
@@ -41,7 +41,7 @@ var bugCommand = cli.Command{
Category: "MISCELLANEOUS COMMANDS",
}
-const issueUrl = "https://github.com/ethereum/go-ethereum/issues/new"
+const issueURL = "https://github.com/ethereum/go-ethereum/issues/new"
// reportBug reports a bug by opening a new URL to the go-ethereum GH issue
// tracker and setting default values as the issue body.
@@ -58,8 +58,8 @@ func reportBug(ctx *cli.Context) error {
fmt.Fprintln(&buff, header)
// open a new GH issue
- if !browser.Open(issueUrl + "?body=" + url.QueryEscape(buff.String())) {
- fmt.Printf("Please file a new issue at %s using this template:\n\n%s", issueUrl, buff.String())
+ if !browser.Open(issueURL + "?body=" + url.QueryEscape(buff.String())) {
+ fmt.Printf("Please file a new issue at %s using this template:\n\n%s", issueURL, buff.String())
}
return nil
}