Skip to content

Commit

Permalink
Update mapstructure tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Feb 12, 2021
1 parent d5c268b commit 8f726a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cbox/group/rest/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type config struct {
// The password for connecting to the redis server
RedisPassword string `mapstructure:"redis_password" docs:""`
// The time in minutes for which the members of a group would be cached
GroupMembersCacheExpiration int `mapstructure:"user_groups_cache_expiration" docs:"5"`
GroupMembersCacheExpiration int `mapstructure:"group_members_cache_expiration" docs:"5"`
// The OIDC Provider
IDProvider string `mapstructure:"id_provider" docs:"http://cernbox.cern.ch"`
// Base API Endpoint
Expand Down
1 change: 1 addition & 0 deletions pkg/group/manager/loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ package loader
import (
// Load core group manager drivers.
_ "github.com/cs3org/reva/pkg/group/manager/json"
_ "github.com/cs3org/reva/pkg/group/manager/ldap"
// Add your own here
)

0 comments on commit 8f726a9

Please sign in to comment.