Add make sync-version to keep changelog and main.go Version the same. Update docs. Cut 1.1.2-1
This commit is contained in:
@ -16,6 +16,8 @@ import (
|
||||
"govpp-snmp-agentx/vpp"
|
||||
)
|
||||
|
||||
const Version = "1.1.2-1"
|
||||
|
||||
func main() {
|
||||
debug := flag.Bool("debug", false, "Enable debug logging")
|
||||
vppcfg := flag.String("vppcfg", "", "VPP configuration YAML file to read interface descriptions from")
|
||||
@ -24,6 +26,9 @@ func main() {
|
||||
// Set global debug flag
|
||||
config.Debug = *debug
|
||||
|
||||
// Log startup message with version
|
||||
logger.Printf("Starting govpp-snmp-agentx version %s", Version)
|
||||
|
||||
// Create the interface MIB
|
||||
interfaceMIB := ifmib.NewInterfaceMIB()
|
||||
|
||||
|
Reference in New Issue
Block a user