change default paths for oCIS services

This commit is contained in:
Willy Kloucek
2021-10-19 14:37:20 +02:00
parent 75a4015954
commit cddb334f80
54 changed files with 212 additions and 218 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ func (s *Service) Tables(ctx context.Context, in *proto.TablesRequest, out *prot
}
// TODO sanitize key. As it may contain invalid characters, such as slashes.
// file: /var/tmp/ocis/store/databases/{database}/{table}/{record.key}.
// file: /tmp/ocis-store/databases/{database}/{table}/{record.key}.
func getID(database string, table string, key string) string {
// TODO sanitize input.
return filepath.Join(database, table, key)