mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-23 22:26:27 +00:00
adjust client-go User-Agent
This commit is contained in:
@@ -18,6 +18,10 @@ import "fmt"
|
||||
// version defines node-problem-detector version string.
|
||||
var version string = "UNKNOWN"
|
||||
|
||||
func Version() string {
|
||||
return version
|
||||
}
|
||||
|
||||
func PrintVersion() {
|
||||
fmt.Println(version)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user