adjust client-go User-Agent

This commit is contained in:
Andy Xie
2018-06-24 10:39:28 +08:00
parent 2f915ecf29
commit 866ae661da
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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)
}