File tree 2 files changed +114
-143
lines changed
cmd/network-monitor/commands
2 files changed +114
-143
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ var RootCmd = &cobra.Command{
96
96
97
97
logger := mLogger .PackageLogger ("network_monitor" )
98
98
99
- logger .WithField ("addr" , addr ).Info ("serving discovery api ..." )
99
+ logger .WithField ("addr" , addr ).Info ("Serving Network Monitor API ..." )
100
100
101
101
pubKey := cipher.PubKey {}
102
102
pubKey .Set (pk ) //nolint
@@ -107,10 +107,9 @@ var RootCmd = &cobra.Command{
107
107
108
108
var nmConfig api.NetworkMonitorConfig
109
109
nmConfig .CleaningDelay = cleaningDelay
110
- nmConfig .PK = pubKey
111
- nmConfig .SK = secKey
112
- nmConfig .Sign = nmSign
113
- nmConfig .BatchSize = batchSize
110
+ nmConfig .PublicKey = pubKey
111
+ nmConfig .SecretKey = secKey
112
+ nmConfig .Signature = nmSign
114
113
115
114
nmAPI := api .New (s , logger , srvURLs , nmConfig )
116
115
You can’t perform that action at this time.
0 commit comments