Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/mad-hatter'
Browse files Browse the repository at this point in the history
|\
| * c78e343 Sreekanth Sivasankaran | MB-37095 - fts scatter gather fails on tls

Change-Id: I1e10096c57b45b30455772f0209a6ca29610daf3
  • Loading branch information
abhinavdangeti committed Dec 3, 2019
2 parents 904d129 + c78e343 commit 935307c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cbauth.go
Expand Up @@ -49,11 +49,8 @@ func GetSecuritySetting() *SecuritySetting {

var securityCtx *SecurityContext

func InitSecurityCtxAndRegisterWithCBAuth() {
securityCtx = &SecurityContext{
notifiers: make(map[string]ConfigRefreshNotifier),
}

// RegisterSecurityNotifications registers for the cbauth's security callbacks
func RegisterSecurityNotifications() {
cbauth.RegisterConfigRefreshCallback(securityCtx.refresh)
}

Expand Down

0 comments on commit 935307c

Please sign in to comment.