Skip to content

Commit

Permalink
Make ACLMongo omitempty for serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jgsqware committed Mar 9, 2016
1 parent aad2ea1 commit 52847f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_server/server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Config struct {
LDAPAuth *authn.LDAPAuthConfig `yaml:"ldap_auth,omitempty"`
MongoAuth *authn.MongoAuthConfig `yaml:"mongo_auth,omitempty"`
ACL authz.ACL `yaml:"acl"`
ACLMongo *authz.ACLMongoConfig `yaml:"acl_mongo"`
ACLMongo *authz.ACLMongoConfig `yaml:"acl_mongo,omitempty"`
}

type ServerConfig struct {
Expand Down

0 comments on commit 52847f5

Please sign in to comment.