mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
Add version info command to signal server (#739)
Add version command to signal and management servers. The version information will be filled during build time.
This commit is contained in:
@@ -7,6 +7,8 @@ import (
|
||||
"runtime"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/netbirdio/netbird/version"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -20,9 +22,10 @@ var (
|
||||
logFile string
|
||||
|
||||
rootCmd = &cobra.Command{
|
||||
Use: "netbird-signal",
|
||||
Short: "",
|
||||
Long: "",
|
||||
Use: "netbird-signal",
|
||||
Short: "",
|
||||
Long: "",
|
||||
Version: version.NetbirdVersion(),
|
||||
}
|
||||
|
||||
// Execution control channel for stopCh signal
|
||||
|
||||
Reference in New Issue
Block a user