From 1737a9353a189cb18a7a186ad27fae9312655a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Mon, 28 Sep 2020 11:15:42 +0200 Subject: [PATCH] enable ocis driver treetime accounting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- .../changelog/unreleased/enable-treetime-accounting.md | 5 +++++ ocis-reva/pkg/command/drivers.go | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 ocis-reva/changelog/unreleased/enable-treetime-accounting.md diff --git a/ocis-reva/changelog/unreleased/enable-treetime-accounting.md b/ocis-reva/changelog/unreleased/enable-treetime-accounting.md new file mode 100644 index 00000000000..a6e236aa75f --- /dev/null +++ b/ocis-reva/changelog/unreleased/enable-treetime-accounting.md @@ -0,0 +1,5 @@ +Enhancement: enable ocis driver treetime accounting + +We enabled treetime accounting in the ocis driver + +https://github.com/owncloud/ocis/pull/619 \ No newline at end of file diff --git a/ocis-reva/pkg/command/drivers.go b/ocis-reva/pkg/command/drivers.go index bb76ff0b73b..ca6b0112eb7 100644 --- a/ocis-reva/pkg/command/drivers.go +++ b/ocis-reva/pkg/command/drivers.go @@ -71,9 +71,11 @@ func drivers(cfg *config.Config) map[string]interface{} { "share_folder": cfg.Reva.Storages.Local.ShareFolder, }, "localhome": map[string]interface{}{ - "root": cfg.Reva.Storages.Local.Root, - "share_folder": cfg.Reva.Storages.Local.ShareFolder, - "user_layout": cfg.Reva.Storages.Local.UserLayout, + "root": cfg.Reva.Storages.Local.Root, + "share_folder": cfg.Reva.Storages.Local.ShareFolder, + "user_layout": cfg.Reva.Storages.Local.UserLayout, + "treetime_accounting": true, + "treesize_accounting": true, }, "owncloud": map[string]interface{}{ "datadirectory": cfg.Reva.Storages.OwnCloud.Root,