Commit 973b2381 authored by Simon Pastor's avatar Simon Pastor
Browse files

baseKey fix

parent 423bebfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ func Init() (err error) {
	// Set base path
	basePath = "/" + sandboxName + appInfoBasePath
	// Get base store key
	appEnablementBaseKey = dkm.GetKeyRoot(sandboxName) + selfName + ":" + appEnablementKey
	appEnablementBaseKey = dkm.GetKeyRoot(sandboxName) + appEnablementKey + ":meep:" + selfName

	// Connect to Redis DB
	rc, err = redis.NewConnector(redisAddr, APP_ENABLEMENT_DB)
+2 −2
Original line number Diff line number Diff line
@@ -119,8 +119,8 @@ func Init(globalMutex *sync.Mutex) (err error) {
	// Set base path
	basePath = "/" + sandboxName + mappsupportBasePath
	// Get base store key
	baseKey = dkm.GetKeyRoot(sandboxName) + mappsupportKey
	appEnablementBaseKey = dkm.GetKeyRoot(sandboxName) + selfName + ":" + appEnablementKey
	appEnablementBaseKey = dkm.GetKeyRoot(sandboxName) + appEnablementKey + ":meep:" + selfName
	baseKey = appEnablementBaseKey + ":" + mappsupportKey

	// Connect to Redis DB
	rc, err = redis.NewConnector(redisAddr, APP_ENABLEMENT_DB)
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ func Init(globalMutex *sync.Mutex) (err error) {
	// Set base path
	basePath = "/" + sandboxName + msmgmtBasePath
	// Get base store key
	appEnablementBaseKey = dkm.GetKeyRoot(sandboxName) + selfName + ":" + appEnablementKey
	appEnablementBaseKey = dkm.GetKeyRoot(sandboxName) + appEnablementKey + ":meep:" + selfName

	// Connect to Redis DB
	rc, err = redis.NewConnector(redisAddr, MSMGMT_DB)