[server] fix primary index creation for couchbase
This commit is contained in:
2
server/env/persist_env.go
vendored
2
server/env/persist_env.go
vendored
@@ -3,7 +3,6 @@ package env
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"os"
|
||||
"reflect"
|
||||
"strconv"
|
||||
@@ -116,7 +115,6 @@ func PersistEnv() error {
|
||||
if err != nil || env.EnvData == "" {
|
||||
// AES encryption needs 32 bit key only, so we chop off last 4 characters from 36 bit uuid
|
||||
hash := uuid.New().String()[:36-4]
|
||||
fmt.Println("hash:", hash)
|
||||
err := memorystore.Provider.UpdateEnvVariable(constants.EnvKeyEncryptionKey, hash)
|
||||
if err != nil {
|
||||
log.Debug("Error while updating encryption env variable: ", err)
|
||||
|
Reference in New Issue
Block a user