Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit e5b66e7

Browse files
committed
Add version information
1 parent 5e0f9bb commit e5b66e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmd/k8s-keystone-auth/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ var (
4343
keystoneURL string
4444
keystoneCaFile string
4545
policyFile string
46+
version string
4647
)
4748

4849
func main() {
@@ -58,6 +59,8 @@ func main() {
5859
logs.InitLogs()
5960
defer logs.FlushLogs()
6061

62+
glog.V(1).Infof("k8s-keystone-auth version: %s", version)
63+
6164
if keystoneURL == "" {
6265
glog.Fatal("please specify --keystone-url or set the OS_AUTH_URL environment variable.")
6366
}

0 commit comments

Comments
 (0)