summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2016-01-08 07:18:44 -0800
committerUlf Wiger <ulf@feuerlabs.com>2016-01-08 07:18:44 -0800
commit876ea566d44036408720fbcf07d3334bdf30ba4b (patch)
treed6864d67f382582fa4f52dd7a04e1e59e91759eb
parentd99ab04baa8e2e72ba18c9fd2a32dcef5b9385dd (diff)
downloadrvi_core-876ea566d44036408720fbcf07d3334bdf30ba4b.tar.gz
fix keypos on CREDS table
-rw-r--r--components/authorize/src/authorize_keys.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/authorize/src/authorize_keys.erl b/components/authorize/src/authorize_keys.erl
index e17675b..31dc1ca 100644
--- a/components/authorize/src/authorize_keys.erl
+++ b/components/authorize/src/authorize_keys.erl
@@ -443,7 +443,7 @@ get_pub_key_from_cert_rec(#'Certificate'{
create_ets() ->
- create_ets(?CREDS, #cred.id),
+ create_ets(?CREDS, 1),
create_ets(?KEYS, #key.id).
create_ets(Tab, KeyPos) ->