File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func main() {
28
28
flag .Parse ()
29
29
ctx := context .Background ()
30
30
31
- logger .Infof ("meshem server version=%s" , src .ServerVersion ())
31
+ logger .Infof ("meshem server version=%s" , src .MeshemVersion ())
32
32
33
33
// read config file
34
34
conf , err := model .NewMeshemConfFile (* confPath )
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ func NewVersionCommand() *cobra.Command {
16
16
}
17
17
18
18
func versionCommandFunc (cmd * cobra.Command , args []string ) {
19
- fmt .Println ("meshemctl version:" , src .ClientVersion ())
19
+ fmt .Println ("meshemctl version:" , src .MeshemVersion ())
20
20
}
Original file line number Diff line number Diff line change 1
1
package src
2
2
3
- func ClientVersion () string {
4
- return "0.1.0"
5
- }
6
- func ServerVersion () string {
3
+ func MeshemVersion () string {
7
4
return "0.1.0"
8
5
}
You can’t perform that action at this time.
0 commit comments