Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #125 from butonic/fix-eos-config
Browse files Browse the repository at this point in the history
fix eos config
  • Loading branch information
micbar authored Mar 31, 2020
2 parents a61bc82 + 9ef0093 commit ee6cd5b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-eos-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Fix eos config

We have added missing config options for the home layout to the config struct that is passed to eos.

https://github.com/owncloud/ocis-reva/pull/125
2 changes: 2 additions & 0 deletions pkg/command/storagehome.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ func StorageHome(cfg *config.Config) *cli.Command {
"sec_protocol": cfg.Reva.Storages.EOS.SecProtocol,
"keytab": cfg.Reva.Storages.EOS.Keytab,
"single_username": cfg.Reva.Storages.EOS.SingleUsername,
"enable_home": true,
"user_layout": cfg.Reva.Storages.EOS.Layout,
},
"local": map[string]interface{}{
"root": cfg.Reva.Storages.Local.Root,
Expand Down
2 changes: 2 additions & 0 deletions pkg/command/storagehomedata.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ func StorageHomeData(cfg *config.Config) *cli.Command {
"sec_protocol": cfg.Reva.Storages.EOS.SecProtocol,
"keytab": cfg.Reva.Storages.EOS.Keytab,
"single_username": cfg.Reva.Storages.EOS.SingleUsername,
"enable_home": cfg.Reva.Storages.EOS.EnableHome,
"user_layout": cfg.Reva.Storages.EOS.Layout,
},
"local": map[string]interface{}{
"root": cfg.Reva.Storages.Local.Root,
Expand Down
2 changes: 2 additions & 0 deletions pkg/command/storageoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ func StorageOC(cfg *config.Config) *cli.Command {
"sec_protocol": cfg.Reva.Storages.EOS.SecProtocol,
"keytab": cfg.Reva.Storages.EOS.Keytab,
"single_username": cfg.Reva.Storages.EOS.SingleUsername,
"enable_home": cfg.Reva.Storages.EOS.EnableHome,
"user_layout": cfg.Reva.Storages.EOS.Layout,
},
"local": map[string]interface{}{
"root": cfg.Reva.Storages.Local.Root,
Expand Down
2 changes: 2 additions & 0 deletions pkg/command/storageocdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ func StorageOCData(cfg *config.Config) *cli.Command {
"sec_protocol": cfg.Reva.Storages.EOS.SecProtocol,
"keytab": cfg.Reva.Storages.EOS.Keytab,
"single_username": cfg.Reva.Storages.EOS.SingleUsername,
"enable_home": cfg.Reva.Storages.EOS.EnableHome,
"user_layout": cfg.Reva.Storages.EOS.Layout,
},
"local": map[string]interface{}{
"root": cfg.Reva.Storages.Local.Root,
Expand Down
2 changes: 2 additions & 0 deletions pkg/command/storageroot.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ func StorageRoot(cfg *config.Config) *cli.Command {
"sec_protocol": cfg.Reva.Storages.EOS.SecProtocol,
"keytab": cfg.Reva.Storages.EOS.Keytab,
"single_username": cfg.Reva.Storages.EOS.SingleUsername,
"enable_home": cfg.Reva.Storages.EOS.EnableHome,
"user_layout": cfg.Reva.Storages.EOS.Layout,
},
"local": map[string]interface{}{
"root": cfg.Reva.Storages.Local.Root,
Expand Down

0 comments on commit ee6cd5b

Please sign in to comment.