From a8085d10a47c233932ceb7a5969caeb70dcac6a5 Mon Sep 17 00:00:00 2001 From: Henry Avetisyan Date: Thu, 19 Oct 2017 11:14:01 -0700 Subject: [PATCH] Update zts client api (#289) --- libs/go/ztsroletoken/role-token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/go/ztsroletoken/role-token.go b/libs/go/ztsroletoken/role-token.go index 836b0ae8701..9520a9b5375 100644 --- a/libs/go/ztsroletoken/role-token.go +++ b/libs/go/ztsroletoken/role-token.go @@ -121,7 +121,7 @@ func (r *roleToken) updateRoleToken() (string, error) { rt, err := z.GetRoleToken( zts.DomainName(r.domain), - zts.EntityName(r.opts.Role), + zts.EntityList(r.opts.Role), durationToExpireSeconds(r.opts.MinExpire), durationToExpireSeconds(r.opts.MaxExpire), zts.EntityName(""),