Skip to content

Commit

Permalink
Merge "Start ACA only when "aca.enabled = true""
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheehan Anderson authored and Gerrit Code Review committed Aug 2, 2016
2 parents acd85cd + 3cd7bdb commit df6c522
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion membersrvc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ func main() {
}
srv := grpc.NewServer(opts...)

aca.Start(srv)
if viper.GetBool("aca.enabled") {
aca.Start(srv)
}
eca.Start(srv)
tca.Start(srv)
tlsca.Start(srv)
Expand Down

0 comments on commit df6c522

Please sign in to comment.