diff --git a/configHelper.go b/configHelper.go index 361016e..a736b7e 100644 --- a/configHelper.go +++ b/configHelper.go @@ -516,7 +516,6 @@ func (the *ConfigHelper) GetIotaMeta(deviceId string) (common_models.DeviceMeta, k := fmt.Sprintf("%s:%s", redisKey.Iota_meta, deviceId) //var deviceMeta common_models.DeviceMeta err = the.redisHelper.GetObj(k, &result) - DeviceMetaCache[deviceId] = result } return result, err } @@ -529,7 +528,6 @@ func (the *ConfigHelper) GetIotaDevice(deviceId string) (common_models.IotaDevic k := fmt.Sprintf("%s:%s", redisKey.Iota_device, deviceId) err = the.redisHelper.GetObj(k, &result) - IotaDeviceCache[deviceId] = result } return result, err }