open-vault/builtin/credential/approle
Jeff Mitchell 8916f6b625
Some atomic cleanup (#4732)
Taking inspiration from
https://github.com/golang/go/issues/17604#issuecomment-256384471
suggests that taking the address of a stack variable for use in atomics
works (at least, the race detector doesn't complain) but is doing it
wrong.

The only other change is a change in Leader() detecting if HA is enabled
to fast-path out. This value never changes after NewCore, so we don't
need to grab the read lock to check it.
2018-06-09 15:35:22 -04:00
..
backend.go Some atomic cleanup (#4732) 2018-06-09 15:35:22 -04:00
backend_test.go approle: Fix role name case sensitivity issue 2018-06-05 18:53:27 -04:00
path_login.go approle: Fix role name case sensitivity issue 2018-06-05 18:53:27 -04:00
path_login_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
path_role.go approle: Fix role name case sensitivity issue 2018-06-05 18:53:27 -04:00
path_role_test.go approle: Fix role name case sensitivity issue 2018-06-05 18:53:27 -04:00
path_tidy_user_id.go Some atomic cleanup (#4732) 2018-06-09 15:35:22 -04:00
path_tidy_user_id_test.go AppRole: Cleanup accessor indexes and dangling accessor indexes (#3924) 2018-02-06 15:44:48 -05:00
validation.go approle: Fix role name case sensitivity issue 2018-06-05 18:53:27 -04:00
validation_test.go approle: Fix role name case sensitivity issue 2018-06-05 18:53:27 -04:00