This repository was archived by the owner on Feb 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,6 @@ import (
19
19
)
20
20
21
21
const (
22
- version = ""
23
- buildinfos = ""
24
- AppVersion = "RTRdump " + version + " " + buildinfos
25
-
26
22
ENV_SSH_PASSWORD = "RTR_SSH_PASSWORD"
27
23
ENV_SSH_KEY = "RTR_SSH_KEY"
28
24
@@ -32,6 +28,10 @@ const (
32
28
)
33
29
34
30
var (
31
+ version = ""
32
+ buildinfos = ""
33
+ AppVersion = "RTRdump " + version + " " + buildinfos
34
+
35
35
Connect = flag .String ("connect" , "127.0.0.1:8282" , "Connection address" )
36
36
OutFile = flag .String ("file" , "output.json" , "Output file" )
37
37
Original file line number Diff line number Diff line change @@ -25,10 +25,6 @@ import (
25
25
)
26
26
27
27
const (
28
- version = ""
29
- buildinfos = ""
30
- AppVersion = "RTRmon " + version + " " + buildinfos
31
-
32
28
ENV_SSH_PASSWORD = "RTR_SSH_PASSWORD"
33
29
ENV_SSH_KEY = "RTR_SSH_KEY"
34
30
@@ -38,6 +34,10 @@ const (
38
34
)
39
35
40
36
var (
37
+ version = ""
38
+ buildinfos = ""
39
+ AppVersion = "RTRmon " + version + " " + buildinfos
40
+
41
41
OneOff = flag .Bool ("oneoff" , false , "dump as json and exits" )
42
42
Addr = flag .String ("addr" , ":8080" , "Server address" )
43
43
MetricsPath = flag .String ("metrics" , "/metrics" , "Metrics path" )
You can’t perform that action at this time.
0 commit comments