Skip to content

Commit 1807e3d

Browse files
authored
Add local flag and migrate flags in uptime report (#2037)
1 parent 35c8e31 commit 1807e3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/uptime/report.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ var valSetSizeFlag = cli.Int64Flag{
3333
var reportUptimeCommand = cli.Command{
3434
Name: "report",
3535
Usage: "Reports uptime for all validators",
36-
Action: reportUptime,
36+
Action: utils.MigrateFlags(reportUptime),
3737
ArgsUsage: "",
38-
Flags: []cli.Flag{epochFlag, lookbackFlag, valSetSizeFlag},
38+
Flags: []cli.Flag{epochFlag, lookbackFlag, valSetSizeFlag, utils.DataDirFlag},
3939
}
4040

4141
// getHeaderByNumber retrieves a block header from the database by number,

0 commit comments

Comments
 (0)