diff options
author | Seb <[email protected]> | 2022-07-15 12:24:24 +0200 |
---|---|---|
committer | Seb <[email protected]> | 2022-07-15 13:28:42 +0200 |
commit | 539b4a1aee73bc1b92dff229b17a0ad4979dcced (patch) | |
tree | b3eb1b6d5da85ec10fa2223e95a8ff81ab17d70d | |
parent | fab6431a857ca0db2bc8bea90d35fee30657961d (diff) |
stop exposing version number
Signed-off-by: Seb <[email protected]>
-rw-r--r-- | roadrunner/roadrunner.go | 4 | ||||
-rw-r--r-- | roadrunner/roadrunner_test.go | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/roadrunner/roadrunner.go b/roadrunner/roadrunner.go index 893ba100..b3335db0 100644 --- a/roadrunner/roadrunner.go +++ b/roadrunner/roadrunner.go @@ -17,8 +17,6 @@ const ( type RR struct { container *endure.Endure stop chan struct{} - Version string - BuildTime string } // NewRR creates a new RR instance that can then be started or stopped by the caller @@ -64,8 +62,6 @@ func NewRR(cfgFile string, override *[]string, pluginList []interface{}) (*RR, e rr := &RR{ container: endureContainer, stop: make(chan struct{}), - Version: meta.Version(), - BuildTime: meta.BuildTime(), } return rr, nil diff --git a/roadrunner/roadrunner_test.go b/roadrunner/roadrunner_test.go index edc847ea..0f90f075 100644 --- a/roadrunner/roadrunner_test.go +++ b/roadrunner/roadrunner_test.go @@ -39,8 +39,6 @@ func TestNewWithConfig(t *testing.T) { rr, err := roadrunner.NewRR(cfgFile, &[]string{}, roadrunner.DefaultPluginsList()) assert.Nil(t, err) - assert.Equal(t, "development", rr.BuildTime) - assert.Equal(t, "local", rr.Version) assert.Equal(t, fsm.Initialized, rr.CurrentState()) } |