Fix Container Service full access token

This commit is contained in:
Kamil Trzcinski 2016-05-15 08:47:48 -05:00
parent 28233e00dc
commit b575b2f1ef
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ module Auth
def self.full_access_token(*names)
registry = Gitlab.config.registry
token = ::JWT::RSAToken.new(registry.key)
token = JSONWebToken::RSAToken.new(registry.key)
token.issuer = registry.issuer
token.audience = AUDIENCE
token[:access] = names.map do |name|