Commit 1e64246 1 parent 87992e5 commit 1e64246 Copy full SHA for 1e64246
File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 4
4
"context"
5
5
"crypto/ed25519"
6
6
"fmt"
7
- "os"
8
7
"time"
9
8
10
9
"github.com/cenkalti/backoff"
@@ -55,11 +54,6 @@ var Module cli.Command = cli.Command{
55
54
Name : "net" ,
56
55
Usage : "print node network and exit" ,
57
56
},
58
- & cli.StringFlag {
59
- Name : "root" ,
60
- Usage : "`ROOT` working directory of the module" ,
61
- Value : "/var/cache/modules/noded" ,
62
- },
63
57
},
64
58
Action : action ,
65
59
}
@@ -89,13 +83,8 @@ func action(cli *cli.Context) error {
89
83
msgBrokerCon string = cli .String ("broker" )
90
84
printID bool = cli .Bool ("id" )
91
85
printNet bool = cli .Bool ("net" )
92
- root string = cli .String ("root" )
93
86
)
94
87
95
- if err := os .MkdirAll (root , 0755 ); err != nil {
96
- return errors .Wrap (err , "fail to create module root" )
97
- }
98
-
99
88
env := environment .MustGet ()
100
89
101
90
redis , err := zbus .NewRedisClient (msgBrokerCon )
You can’t perform that action at this time.
0 commit comments