Split the version metric out to its own package

This commit is contained in:
Kris
2016-08-18 10:02:48 -07:00
parent b551bf1e5c
commit 1740358573
12 changed files with 48 additions and 16 deletions

View File

@@ -29,6 +29,7 @@ import (
_ "k8s.io/kubernetes/pkg/client/metrics/prometheus" // for client metric registration
"k8s.io/kubernetes/pkg/util/flag"
"k8s.io/kubernetes/pkg/util/logs"
_ "k8s.io/kubernetes/pkg/version/prometheus" // for version metric registration
"k8s.io/kubernetes/pkg/version/verflag"
"github.com/spf13/pflag"