Commit f76085e 1 parent 58a3d9e commit f76085e Copy full SHA for f76085e
File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ func oneLastThing(d *MigrationData) {
346
346
d .say (notice , "Error getting miner power: %s" , err .Error ())
347
347
os .Exit (1 )
348
348
}
349
- msgMap ["version" ] = build .BuildVersion
349
+ msgMap ["version" ] = build .MinerBuildVersion
350
350
msgMap ["net" ] = build .BuildType
351
351
msgMap ["power" ] = map [uploadType ]uint64 {
352
352
uploadTypeIndividual : power .MinerPower .QualityAdjPower .Uint64 (),
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ func main() {
92
92
app := & cli.App {
93
93
Name : "curio" ,
94
94
Usage : "Filecoin decentralized storage network provider" ,
95
- Version : build .UserVersion ( ),
95
+ Version : string ( build .MinerUserVersion () ),
96
96
EnableBashCompletion : true ,
97
97
Before : func (c * cli.Context ) error {
98
98
setupCloseHandler ()
@@ -154,7 +154,7 @@ func main() {
154
154
}
155
155
156
156
// Generate report in CURIO_PATH and re-raise panic
157
- build .GeneratePanicReport (c .String ("panic-reports" ), p , c .App .Name )
157
+ build .GenerateMinerPanicReport (c .String ("panic-reports" ), p , c .App .Name )
158
158
panic (r )
159
159
}
160
160
return nil
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ var runCmd = &cli.Command{
95
95
}
96
96
97
97
ctx , _ := tag .New (lcli .DaemonContext (cctx ),
98
- tag .Insert (metrics .Version , build .BuildVersion ),
98
+ tag .Insert (metrics .Version , build .MinerBuildVersion ),
99
99
tag .Insert (metrics .Commit , build .CurrentCommit ),
100
100
tag .Insert (metrics .NodeType , "curio" ),
101
101
)
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func main() {
29
29
app := & cli.App {
30
30
Name : "sptool" ,
31
31
Usage : "Manage Filecoin Miner Actor" ,
32
- Version : build .UserVersion ( ),
32
+ Version : string ( build .MinerUserVersion () ),
33
33
Commands : local ,
34
34
Flags : []cli.Flag {
35
35
& cli.StringFlag {
You can’t perform that action at this time.
0 commit comments