Skip to content

Commit

Permalink
Merge pull request #3955 from wkloucek/remove-unused-ocs-config-option
Browse files Browse the repository at this point in the history
remove unused `OCS_STORAGE_USERS_DRIVER` configuration option
  • Loading branch information
David Christofas authored Jun 13, 2022
2 parents 202d8dd + a319b17 commit 358807f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-remove-unused-ocs-storage-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Remove unused OCS storage configuration

We've removed the unused OCS configuration option `OCS_STORAGE_USERS_DRIVER`.

https://github.com/owncloud/ocis/pull/3955
5 changes: 2 additions & 3 deletions extensions/ocs/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ type Config struct {

IdentityManagement IdentityManagement `yaml:"identity_management"`

AccountBackend string `yaml:"account_backend" env:"OCS_ACCOUNT_BACKEND_TYPE"`
StorageUsersDriver string `yaml:"storage_users_driver" env:"STORAGE_USERS_DRIVER;OCS_STORAGE_USERS_DRIVER"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY;OCS_MACHINE_AUTH_API_KEY"`
AccountBackend string `yaml:"account_backend" env:"OCS_ACCOUNT_BACKEND_TYPE"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY;OCS_MACHINE_AUTH_API_KEY"`

Context context.Context `yaml:"-"`
}
Expand Down
1 change: 0 additions & 1 deletion extensions/ocs/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ func DefaultConfig() *config.Config {
Reva: &config.Reva{
Address: "127.0.0.1:9142",
},
StorageUsersDriver: "ocis",
IdentityManagement: config.IdentityManagement{
Address: "https://localhost:9200",
},
Expand Down

0 comments on commit 358807f

Please sign in to comment.