OSDN Git Service

Osssync (#580)
[bytom/vapor.git] / cmd / vapord / commands / run_node.go
index af75e32..18fab86 100644 (file)
@@ -55,6 +55,9 @@ func init() {
        runNodeCmd.Flags().Int("ws.max_num_websockets", config.Websocket.MaxNumWebsockets, "Max number of websocket connections")
        runNodeCmd.Flags().Int("ws.max_num_concurrent_reqs", config.Websocket.MaxNumConcurrentReqs, "Max number of concurrent websocket requests that may be processed concurrently")
 
+       // OSS
+       runNodeCmd.Flags().String("oss.endpoint", config.Oss.Endpoint, "Endpoint of OSS")
+
        RootCmd.AddCommand(runNodeCmd)
 }