Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
5f3792c2
Commit
5f3792c2
authored
Jun 29, 2015
by
Péter Szilágyi
Committed by
Jeffrey Wilcke
Jun 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/geth: decent error message if metrics are disabled
parent
01fe9721
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
monitorcmd.go
cmd/geth/monitorcmd.go
+1
-1
chain_manager.go
core/chain_manager.go
+0
-1
No files found.
cmd/geth/monitorcmd.go
View file @
5f3792c2
...
...
@@ -79,7 +79,7 @@ func monitor(ctx *cli.Context) {
if
len
(
list
)
>
0
{
utils
.
Fatalf
(
"No metrics specified.
\n\n
Available:
\n
- %s"
,
strings
.
Join
(
list
,
"
\n
- "
))
}
else
{
utils
.
Fatalf
(
"No metrics
specified.
\n\n
No metrics collected (--metrics)
\n
"
)
utils
.
Fatalf
(
"No metrics
collected by geth (--%s).
\n
"
,
utils
.
MetricsEnabledFlag
.
Name
)
}
}
sort
.
Strings
(
monitored
)
...
...
core/chain_manager.go
View file @
5f3792c2
...
...
@@ -23,7 +23,6 @@ import (
"github.com/ethereum/go-ethereum/pow"
"github.com/ethereum/go-ethereum/rlp"
"github.com/hashicorp/golang-lru"
"github.com/rcrowley/go-metrics"
"github.com/syndtr/goleveldb/leveldb"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment