Bumping version

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2020-05-19 16:38:33 -07:00
parent c9f78d6f79
commit 050db531fc
2 changed files with 1 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ var (
const (
// VERSION is the current version for the server.
VERSION = "2.2.0-beta.11"
VERSION = "2.2.0-beta.12"
// PROTO is the currently supported protocol.
// 0 was the original

View File

@@ -958,16 +958,6 @@ func (s *Server) setSystemAccount(acc *Account) error {
return nil
}
func (s *Server) systemAccount() *Account {
var sacc *Account
s.mu.Lock()
if s.sys != nil {
sacc = s.sys.account
}
s.mu.Unlock()
return sacc
}
// Creates an internal system client.
func (s *Server) createInternalSystemClient() *client {
return s.createInternalClient(SYSTEM)