diff --git a/cmd/root.go b/cmd/root.go index a918b0841..d7da24a0b 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -16,7 +16,6 @@ import ( var subcommandFns = map[string]func(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command{} func NewRootCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command { - // pilosa.SetupVersionBuild() // want to remove - see version.go rc := &cobra.Command{ Use: "pilosa", Short: "Pilosa - A Distributed In-memory Binary Bitmap Index.", diff --git a/version.go b/version.go index 42129f64a..3c7d19ca3 100644 --- a/version.go +++ b/version.go @@ -2,16 +2,3 @@ package pilosa var Version = "v0.0.0" var BuildTime = "not recorded" - -// ldflags works without this - removing it allows TestHandler_Version to work simply -func SetupVersionBuild() { - /* - if Version == "" { - Version = "v0.0.0" - } - if BuildTime == "" { - BuildTime = "not recorded" - } - */ - -}