|
@@ -85,7 +85,7 @@ func (d *device_manager) loop() {
|
85
|
85
|
// ensure we have metadata for the key
|
86
|
86
|
// the default is to copy the subjects parents metadata.
|
87
|
87
|
// Our system is loosely bound between devices
|
88
|
|
- // and data - we don't catalog a fixed dataset from the devices.
|
|
88
|
+ // and data - we don't know the fixed dataset from a specific device.
|
89
|
89
|
m, found := d.metaStore.FindBySubject(subject)
|
90
|
90
|
|
91
|
91
|
if !found {
|
|
@@ -95,6 +95,7 @@ func (d *device_manager) loop() {
|
95
|
95
|
|
96
|
96
|
currentSubject := subject.String()
|
97
|
97
|
ss, _ := utils.ParseSubject(ent.Subject)
|
|
98
|
+
|
98
|
99
|
if ss.IsRoot() {
|
99
|
100
|
|
100
|
101
|
m.Subject = currentSubject
|