From 89a86948b52e44c8ee185d4d687fb4e79eddb741 Mon Sep 17 00:00:00 2001 From: "Anand Babu (AB) Periasamy" Date: Fri, 18 Sep 2015 23:33:28 -0700 Subject: [PATCH] new version format and some cleanup --- pkg/controller/rpc/version.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/controller/rpc/version.go b/pkg/controller/rpc/version.go index 35f828d82..d617c5591 100644 --- a/pkg/controller/rpc/version.go +++ b/pkg/controller/rpc/version.go @@ -19,8 +19,6 @@ package rpc import ( "net/http" "runtime" - - "github.com/minio/minio/pkg/version" ) // VersionArgs basic json RPC params @@ -40,7 +38,8 @@ type VersionReply struct { // Get version func (v *VersionService) Get(r *http.Request, args *VersionArgs, reply *VersionReply) error { reply.Version = "0.0.1" - reply.BuildDate = version.Version + //TODO: Better approach needed here to pass global states like version. --ab. + // reply.BuildDate = version.Version reply.Architecture = runtime.GOARCH reply.OperatingSystem = runtime.GOOS return nil