Change config parameter name
This commit is contained in:
parent
321f843e8e
commit
d60a07f58c
@ -5,7 +5,7 @@ type ConfigGetter interface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
GCTTL int `yaml:"gcTTL"`
|
GCTTL int `yaml:"gcTTL"`
|
||||||
SyncPeriod int `yaml:"syncPeriod"`
|
SyncPeriod int `yaml:"syncPeriod"`
|
||||||
TreeInMemoryData bool `yaml:"treeInMemoryData"`
|
TreeNoInMemoryData bool `yaml:"treeNoInMemoryData"`
|
||||||
}
|
}
|
||||||
|
|||||||
@ -154,7 +154,7 @@ func (s *spaceService) NewSpace(ctx context.Context, id string) (Space, error) {
|
|||||||
syncStatus = syncstatus.NewSyncStatusProvider(st.Id(), syncstatus.DefaultDeps(lastConfiguration, st))
|
syncStatus = syncstatus.NewSyncStatusProvider(st.Id(), syncstatus.DefaultDeps(lastConfiguration, st))
|
||||||
}
|
}
|
||||||
var builder objecttree.BuildObjectTreeFunc
|
var builder objecttree.BuildObjectTreeFunc
|
||||||
if s.config.TreeInMemoryData {
|
if s.config.TreeNoInMemoryData {
|
||||||
builder = objecttree.BuildEmptyDataObjectTree
|
builder = objecttree.BuildEmptyDataObjectTree
|
||||||
} else {
|
} else {
|
||||||
builder = objecttree.BuildObjectTree
|
builder = objecttree.BuildObjectTree
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user